Thread-safety
Helen Ryan <[email protected]> Thu, 28 Nov 2002 18:31:26 -0000
| Newsgroups | gmane.network.beep.beepcore.c.general |
|---|---|
| Message-ID | <[email protected]> |
Hi Is beepcore-c safe for use in multi-threaded applications? The logging utility (in v. 0.2) seems to use a static FILE pointer (line 41 of threaded_os/utility/logutil.c). Is use of this (e.g. log_line) protected by a semaphore/mutex/etc? (Presumably the fprintf/fflush would alter buffers, etc in the FILE structure) Many thanks, Helen Ryan ------------------------------------------------------- This SF.net email is sponsored by: Get the new Palm Tungsten T handheld. Power & Color in a compact size! http://ads.sourceforge.net/cgi-bin/redirect.pl?palm0002en