The CreatorCon Call for Content is officially open! Get started here.

Where is the document for GlideMutex?

tongguo_pang
Mega Contributor

I need a lock in my script, but I was not able to find the document about this class. Where can i find it?

Thanks

10 REPLIES 10

Thanks


Hi Chuck,


was there any update on this? Have a similar requirement right now and try to figure out the best way to do this...


Thanks,


Daniel


Hi Daniel,



I never received a response.


Same here, we have a need for programmatic access to Mutex from a scoped app


To perform batching and do a 'MultiThreaded' operation what I do is:
1. write a script to create 'n' number of triggers (sys_trigger).

2. In the trigger creation code, i populate the script field of the trigger with the code to execute each individual batch like:

Trigger 1 --> execute batch 1

Trigger 2 --> execute batch 2

and so on..

3. Every trigger will have a call to next trigger in line (execute any trigger from the remaining pool)..

 

that way you control how many triggers you want to run in parallel and achieve multi threaded execution.