unsigned int vortex_queue_get_length ( VortexQueue queue  ) 

Returns how many items the given queue have.

Parameters:
queue the queue to check.
Returns:
Returns how many items the given queue have or -1 if it fails.