[ECOS] thread safety in sprintf ...

Thomas BINDER Thomas.Binder@frequentis.com
Tue Mar 11 10:16:00 GMT 2003


Hi!

When CYGSEM_LIBC_STDIO_THREAD_SAFE_STREAMS is turned off,  will (the libc) sprintf function crash the system if it gets called from several threads???

Or are there just problems if several threads write to the *same* string?

Will fprintf still work properly without CYGSEM_LIBC_STDIO_THREAD_SAFE_STREAMS ??


Thx,
Tom
-- 
                            \\\|///
                          \\  ~ ~  //
                           (  @ @  )
/------------------------oOOo-(_)-oOOo-----------------------------------------\
| DI Dr. Thomas Binder                 | System Software Group                 |
| FREQUENTIS Nachrichtentechnik Gmbh   | http://www.frequentis.com             |
| Spittelbreitengasse 34               | voice: +43/1/81150-2325               |
| A-1120  Vienna                       | fax:               1569               |
| A U S T R I A                        | mailto:Thomas.Binder@frequentis.com   |
\---------------------------------Oooo.----------------------------------------/
                        .oooO     (   )
                        (   )      ) /
                         \ (      (_/
                          \_)

-- 
Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
and search the list archive: http://sources.redhat.com/ml/ecos-discuss



More information about the Ecos-discuss mailing list