From: Owen Shepherd Date: Thu, 8 Nov 2012 23:17:29 +0000 (+0000) Subject: PDCLIB-15 PDCLIB-16: X-Git-Url: https://pd.if.org/git/?a=commitdiff_plain;h=026148e2e90368c0b23192f506e15aa6197105aa;hp=026148e2e90368c0b23192f506e15aa6197105aa;p=pdclib PDCLIB-15 PDCLIB-16: * Move _PDCLIB_file_t to _PDCLIB_io.h, compertmentalizing dependencies. Removes I/O specific structures from _PDCLIB_int.h. Allows _PDCLIB_io.h to depend upon _PDCLIB_threadconfig.h without recursive dependencies happening. * Add "lock" member to _PDCLIB_file_t as the stream locking mutex * Add flockfile/ftrylockfile/funlockfile as functions which manipulate the locking mutex explicitly * Add man page on flockfile/funlockfile/ftrylockfile * Add flockfile/ftrylockfile/funlockfile and *_unlocked to and as appropriate * win32: Initialize mutex member correctly ---