/usr/share/freemat/help/text/threadfree.mdc is in freemat-help 4.0-5.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 | THREADFREE THREADFREE Free thread resources
Usage
The threadfree is a function to free the resources claimed
by a thread that has finished. The syntax for its use is
threadfree(handle)
where handle is the handle returned by the call to threadnew.
The threadfree function requires that the thread be completed.
Otherwise it will wait for the thread to complete, potentially
for an arbitrarily long period of time. To fix this, you can
either call threadfree only on threads that are known to have
completed, or you can call it using the syntax
threadfree(handle,timeout)
where timeout is a time to wait in milliseconds. If the thread
fails to complete before the timeout expires, an error occurs.
|