hreadsafe
The hreadsafe command includes a line in the documentation to indicate that the associated class or function is threadsafe and can be called simultaneously by multiple threads, even when separate invocations reference shared data.
The command must stand on its own line.
The documentation generated from this command will be similar to the what is generated for the eentrant command. See the example above in the introduction.
See also eentrant and onreentrant.
eentrant
The eentrant command indicates that the associated class or function can be called simultaneously by multiple threads, provided that each invocation references its own data. See the example above.
The command must stand on its own line.
See also onreentrant and hreadsafe.
onreentrant
The onreentrant command indicates that the associated class or function cannot be called by multiple threads. Nonreentrant is the default case.
The command must stand on its own line.
When a class is marked
eentrant or hreadsafe, functions in that class can be marked nonreentrant
using this command in the fn comment of the functions to be excluded.