C Library Issues



void flockfile(FILE * file);

int ftrylockfile(FILE * file);

void funlockfile(FILE * file);

int getc_unlocked(FILE * file);

int getchar_unlocked(void);

int putc_unlocked(FILE * file);

int putchar_unlocked(void);

Reentreant Routines

A function whose effect, when called by two or more threads, is gaurenteed to be as if the threads each executed the function one after another in an undefined order, even if the actual execution is interleaved.


Prepared by Chris Provenzano (proven@mit.edu)