Line 53: |
Line 53: |
| struct OSThread *prev; | | struct OSThread *prev; |
| struct OSThread *next; | | struct OSThread *next; |
| + | } |
| + | </pre> |
| + | |
| + | == Message queues == |
| + | <pre> |
| + | struct OSMessageQueue { |
| + | struct OSThreadQueue waitForReceive; |
| + | struct OSThreadQueue waitForSend; |
| + | u32 *buf; |
| + | u32 capacity; |
| + | u32 rotation; |
| + | u32 messagesEnqueued; |
| } | | } |
| </pre> | | </pre> |