1
0
Fork 0
forked from len0rd/rockbox

Clarified the mutex code, renamed the NUM_TICK_TASKS macro

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@885 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Linus Nielsen Feltzing 2002-06-04 12:47:39 +00:00
parent 150c5a7cef
commit 80f8b22357
2 changed files with 11 additions and 11 deletions

View file

@ -27,7 +27,7 @@
#define HZ 100 /* number of ticks per second */
#define NUM_TICK_TASKS 4
#define MAX_NUM_TICK_TASKS 4
#define QUEUE_LENGTH 16 /* MUST be a power of 2 */
#define QUEUE_LENGTH_MASK (QUEUE_LENGTH - 1)
@ -47,7 +47,7 @@ struct event_queue
struct mutex
{
int count;
bool locked;
};
/* global tick variable */