/simpletypesystem/trunk

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/simpletypesystem/trunk

« back to all changes in this revision

Viewing changes to src/Thread.c

  • Committer: Gustav Hartvigsson
  • Date: 2015-09-20 11:09:05 UTC
  • Revision ID: gustav.hartvigsson@gmail.com-20150920110905-zn04f8kryzuzvibx
* added external .h files for dealing with stuff that may or may not be avalible on scertain platforms.

Show diffs side-by-side

added added

removed removed

Lines of Context:
47
47
 
48
48
UNUSED
49
49
static SMap * _global_mutex_list = NULL;
 
50
 
50
51
UNUSED
51
52
static sulong _global_mutex_lock_id = 0;
 
53
 
52
54
UNUSED
53
55
static sulong _global_mutex_refcount = 0;
54
56
 
89
91
 
90
92
struct SMutex {
91
93
  suint lock_id;
 
94
  _Atomic sboolean is_locked;
92
95
};
93
96
#endif
94
97