|
@ -248,8 +248,8 @@ void *queue_dequeue(queue_t *queue,int32_t offsetflag) |
|
|
if ( queue->list != 0 ) |
|
|
if ( queue->list != 0 ) |
|
|
{ |
|
|
{ |
|
|
item = queue->list; |
|
|
item = queue->list; |
|
|
|
|
|
printf("queue_dequeue name.(%s) dequeue.%p list.%p\n",queue->name,item,queue->list); |
|
|
DL_DELETE(queue->list,item); |
|
|
DL_DELETE(queue->list,item); |
|
|
//printf("queue_dequeue name.(%s) dequeue.%p list.%p\n",queue->name,item,queue->list);
|
|
|
|
|
|
} |
|
|
} |
|
|
portable_mutex_unlock(&queue->mutex); |
|
|
portable_mutex_unlock(&queue->mutex); |
|
|
if ( item != 0 && offsetflag != 0 ) |
|
|
if ( item != 0 && offsetflag != 0 ) |
|
|