.

HCLSoftware Business Partner
Domino Consulting Services
CRUCIAL Notes Tools
+1 212-599-2048

Domino Consulting Services
CRUCIAL Notes Tools
Domino administration
Notes development

Facebook Twitter YouTube
Chat now       
.
ProductsDownloadsNewsAbout usContact


Need a Domino Consultant? Call NotesMail +1 212-599-2048 - HCLSoftware Business Partner

LOTUSSCRIPT LANGUAGE


Running asynchronous agents on the Domino server
To enable multiprocessing agents on the server:

1. Add the following line to your NOTES.INI file:


2. Restart your HTTP server.

Note Enabling multiprocessing is not the same as increasing the number of agent managers.

Thread-safe LSX, C/C++ code

Notes is thread-safe. To write multithreaded agents, you must make sure your LSX or C/C++ code is thread-safe.

Thread-safe code means one of the following:


To design thread-safe code:
Thread-specific bugs

Threading problems are usually non-deterministic.

Common threading problems include:


Creating and destroying locks

To create locks, use the command:


This command creates a link to the specified lock and returns the lock ID used by other lock primitives. It creates a lock if one doesn't exist.

To remove locks, use the command


This command removes the current link to the lock specified and destroys the lock if no links remain.

See Also