Simple fifo command queue.  
More...
Go to the source code of this file.
Detailed Description
- Date:
 - 28.02.2010 
 
- Author:
 - Marius Generic fifo queue for use between threads within the same process. Is a lot more flexible and speedy than bcs_ipc_queue. As messages are kept within the same virtual adress space there's theoretical no limit for the number of messages on the queue except the memory space of course. 
 
Enumeration Type Documentation
- Enumerator: 
 
| BCS_Q_NONE  | 
 blocking call, method will return only if message could be sent or received  
 | 
| BCS_Q_NOWAIT  | 
 non blocking, method will always return and return BCS_ERR_EMPTY or BCS_ERR_NOTSENT if operation failed  
 | 
| BCS_Q_NONE  | 
 blocking call, method will return only if message could be sent or received  
 | 
| BCS_Q_NOWAIT  | 
 non blocking, method will always return and return BCS_ERR_EMPTY or BCS_ERR_NOTSENT if operation failed  
 | 
 
 
 
Function Documentation
- Parameters:
 - 
  
    | q | pointer to a queue you want to add an item to  | 
    | data | your data  | 
  
   
- Returns:
 - Error codes 
 
 
 
All waiting messages will be removed and your queue reset as if it just had been declared.
- Parameters:
 - 
  
  
 
 
 
- Parameters:
 - 
  
    | q | pointer to a queue you want to get an item from  | 
    | data | Pointer that will point to your data when an item was received sucessfully  | 
    | f | use this to select if the function should work blocking or non-blocking  | 
  
   
- Returns:
 - Error codes 
 
 
 
A new queue will be set up to be filled with items.
Only use this function on queues that have not been used yet or were deleted in the past! 
- Parameters:
 - 
  
    | q | pointer to an unused or deleted queue  |