revise the definition of multiple basic locks in the code
In all cases this is just a change from two volatile int to one.
This commit is contained in:
1 parent
c4bc0b1a64
commit
32482f61da
15 files changed
+16
-16
No files matched your search
@@ -11,7 +11,7 @@ void *__expand_heap(size_t *);
|
||||
static void *__simple_malloc(size_t n)
|
||||
{
|
||||
static char *cur, *end;
|
||||
static volatile int lock[2];
|
||||
static volatile int lock[1];
|
||||
size_t align=1, pad;
|
||||
void *p;
|
||||
|
||||
|
||||
Reference in new issue
Block a user