Is there any way to grab and hold a license in Skill code?

M

m.deng

Guest
Suppose I need to run a serial of commands without waiting(for UI
reason), is there a way for me to reserve those licenses needed in
advance?

cheers,

Ming
 
m.deng wrote:
Mr . SJ wrote:

lmCheckOut( "32500" 5.0)

Who can I transfer the grabbed license to other programs(line command)
such like calibre?
sorry, the question should be "How can I transfer the grabbed license to
other programs(line command) such like calibre?"
 
On Wed, 26 Jan 2005 00:11:12 -0500, "m.deng" <mingdeng@rogers.com> wrote:

m.deng wrote:
Mr . SJ wrote:

lmCheckOut( "32500" 5.0)

Who can I transfer the grabbed license to other programs(line command)
such like calibre?
sorry, the question should be "How can I transfer the grabbed license to
other programs(line command) such like calibre?"
Sorry the question should be "Can you ask a question that makes sense?"

Andrew.
 
On Mon, 10 Jan 2005 17:01:51 -0500, "m.deng" <mingdeng@rogers.com> wrote:

Suppose I need to run a serial of commands without waiting(for UI
reason), is there a way for me to reserve those licenses needed in
advance?

cheers,

Ming
If you're asking how to reserve licenses, there's a mechanism for doing that
using options files in the license file (on the DAEMON line) - but that's
more for permanent reserving of licenses to particular groups or users.

(it's covered in the licensing documentation).

Andrew.
 
Andrew Beckett wrote:
On Wed, 26 Jan 2005 00:11:12 -0500, "m.deng" <mingdeng@rogers.com> wrote:


m.deng wrote:

Mr . SJ wrote:


lmCheckOut( "32500" 5.0)


Who can I transfer the grabbed license to other programs(line command)
such like calibre?

sorry, the question should be "How can I transfer the grabbed license to
other programs(line command) such like calibre?"


Sorry the question should be "Can you ask a question that makes sense?"

Andrew.

Supposing I am creating a SKILL script to do a Calibre related task. It
needs to call some preprocessing and then call calibre. The usually
situation I find is that after preprocessing finishes, calibre license
is not available. So what I need to do is to grab and hold the calibre
license when the script starts, then late somehow transfer it to calibre
program to run.
 
Supposing I am creating a SKILL script to do a Calibre related task. It
needs to call some preprocessing and then call calibre. The usually
situation I find is that after preprocessing finishes, calibre license
is not available. So what I need to do is to grab and hold the calibre
license when the script starts, then late somehow transfer it to calibre
program to run.
The only way you'll be able to do this is if Mentor provide some means of
checking out a Calibre license, or reserving a license. If they do, you could
invoke the command needed to do that via an ipcBeginProcess function, but
I somehow doubt that there will be a way of doing this...

Andrew.
 
Supposing I am creating a SKILL script to do a Calibre related task. It
needs to call some preprocessing and then call calibre. The usually
situation I find is that after preprocessing finishes, calibre license
is not available. So what I need to do is to grab and hold the calibre
license when the script starts, then late somehow transfer it to calibre
program to run.
Create your own "reserve license" in some form of MUTEX wrapper around
calibre and do the handoff yourself.


----== Posted via Newsfeeds.Com - Unlimited-Uncensored-Secure Usenet News==----
http://www.newsfeeds.com The #1 Newsgroup Service in the World! >100,000 Newsgroups
---= East/West-Coast Server Farms - Total Privacy via Encryption =---
 

Welcome to EDABoard.com

Sponsor

Back
Top