IBM ILOG Scheduler User's Manual > Integrated Applications > Writing Multi-Threaded Applications Using Durable Resources

This chapter shows you how to use durable resources in a multi-threaded application. Note that Scheduler is multi-thread safe if each thread uses a different environment for creating scheduler objects and those objects are not accessed across different threads.

Durable resources may be concurrently used by different threads through the methods lock and unlock of the class IlcSchedule. Locking a set of resources may block a thread while it waits for all resources in the set to be unlocked by other threads. Unlocking of resources allows other threads to gain access to these resources.