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:
parent
150c5a7cef
commit
80f8b22357
2 changed files with 11 additions and 11 deletions
|
@ -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 */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue