Searched defs:SF_MTSAFE (Results 1 - 2 of 2) sorted by relevance

/ast/src/lib/libast/include/
H A Dsfio.h148 #define SF_MTSAFE 0010000 /* need thread safety */ macro
/ast/src/lib/libast/sfio/
H A Dsfhdr.h372 { if((ff)->_flags&SF_MTSAFE) \
382 { if((ff)->_flags&SF_MTSAFE) \
392 #define SFMTXLOCK(f) (((f)->flags&SF_MTSAFE) ? sfmutex(f,SFMTX_LOCK) : 0)
393 #define SFMTXUNLOCK(f) (((f)->flags&SF_MTSAFE) ? sfmutex(f,SFMTX_UNLOCK) : 0)
412 #undef SF_MTSAFE /* no need to worry about thread-safety */ macro
413 #define SF_MTSAFE 0 macro
923 #define _SFOPENRD(f) ((f)->endr = ((f)->flags&SF_MTSAFE) ? (f)->data : (f)->endb)
924 #define _SFOPENWR(f) ((f)->endw = ((f)->flags&(SF_MTSAFE|SF_LINE)) ? (f)->data : (f)->endb)

Completed in 17 milliseconds