~registry/glib/glib-2-30

« back to all changes in this revision

Viewing changes to glib/giounix.c

  • Committer: Owen Taylor
  • Date: 1998-12-15 05:28:02 UTC
  • Revision ID: git-v1:931ea952650b013b834041b91b0c37a748ffd449
This commit merges the glib-threads branch into the main
branch. See the ChangeLog for details of the changes.

In brief overview:

 - The set of threading functions can be set
 - A default implementation is provided in -lgthread
 - All static data structures are locked using these
   functions if g_thread_init() is called.

Show diffs side-by-side

added added

removed removed

Lines of Context:
20
20
 * Boston, MA 02111-1307, USA.
21
21
 */
22
22
 
 
23
/* 
 
24
 * MT safe
 
25
 */
 
26
 
23
27
#include "glib.h"
24
28
#include <sys/types.h>
25
29
#include <unistd.h>