mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-10-13 18:17:39 -04:00
Use cookies for thread identification instead of pointers directly which gives a buffer against wrongly identifying a thread when the slot is recycled (which has been nagging me for awhile). A slot gets 255 uses before it repeats. Everything gets incompatible so a full update is required.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19377 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
40ff47c7ee
commit
8cfbd3604f
32 changed files with 329 additions and 234 deletions
|
@ -261,7 +261,7 @@ extern void queue_post(struct event_queue *q, long id, intptr_t data);
|
|||
#ifdef HAVE_EXTENDED_MESSAGING_AND_NAME
|
||||
extern void queue_enable_queue_send(struct event_queue *q,
|
||||
struct queue_sender_list *send,
|
||||
struct thread_entry *owner);
|
||||
unsigned int owner_id);
|
||||
extern intptr_t queue_send(struct event_queue *q, long id, intptr_t data);
|
||||
extern void queue_reply(struct event_queue *q, intptr_t retval);
|
||||
extern bool queue_in_queue_send(struct event_queue *q);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue