Neonode zForce(TM) SDK

- Main Page
- Modules
- Classes
- Files

- File List
- File Members

Classes | Macros | Typedefs | Functions
Queue.h File Reference

Generic Queue handling. More...

Go to the source code of this file.

## Classes
struct | Queue
| The Queue struct. More...

## Typedefs
typedef struct Queue | Queue

## Functions
DLLEXTERNAL Queue * | Queue_New (void)
| Create a new Queue. More...

## Detailed Description

Generic Queue handling.

Generic Queue handling. Receiver is responsible to destroy message after dequeuing.

Copyright
  COPYRIGHT NOTICE: (c) 2017-2018 Neonode Technologies AB. All rights reserved.

## Typedef Documentation

typedef struct Queue Queue

See also
  struct Queue

## Function Documentation

DLLEXTERNAL Queue* Queue_New | ( | void |  | ) |

Create a new Queue.

Creates a new queue and all queue resources needed.
On failure, errno is set.

- EOUTOFMEMORY - Memory allocation failed.
- EQUEUECREATIONFAILED - Queue creation failed.
- EBADMUTEX - Bad Mutex pointer.
- EBADSEMAPHORE - Bad Semaphore pointer.

Returns
  A pointer to the new Queue.