TAILQ_INSERT_TAIL(3EXT) Namequeue, SLIST_HEAD, SLIST_HEAD_INITIALIZER, SLIST_ENTRY, SLIST_INIT, SLIST_INSERT_AFTER, SLIST_INSERT_HEAD, SLIST_REMOVE_HEAD, SLIST_REMOVE, SLIST_FOREACH, SLIST_EMPTY, SLIST_FIRST, SLIST_NEXT, SIMPLEQ_HEAD, SIMPLEQ_HEAD_INITIALIZER, SIMPLEQ_ENTRY, SIMPL...
queue, SLIST_HEAD , SLIST_HEAD_INITIALIZER , SLIST_ENTRY , SLIST_INIT , SLIST_INSERT_AFTER , SLIST_INSERT_HEAD , SLIST_REMOVE_HEAD , SLIST_REMOVE , SLIST_FOREACH...
pthread_rwlock_wrlock(&block->lock);TAILQ_INSERT_TAIL(clients, rv, qentry); ++block->num_clients; pthread_rwlock_unlock(&block->lock); }else{TAILQ_INSERT_TAIL(clients, rv, qentry); } ship_inc_clients(ship);returnrv; err: close(sock);if(type == CLIENT_TYPE_BLOCK) {free(rv->enemy...
err = vmbus_uio_get_subchan(primary, &chan);if(err)returnerr;STAILQ_INSERT_TAIL(&primary->subchannel_list, chan, next); *new_chan = chan;return0; } 开发者ID:DrenfongWong,项目名称:dpdk,代码行数:15,代码来源:vmbus_channel.c 示例4: pcpu_init ▲点赞 1▼ /* * Initialize the MI por...
STAILQ_INSERT_TAIL(9F) Namequeue, SLIST_HEAD, SLIST_HEAD_INITIALIZER, SLIST_ENTRY, SLIST_INIT, SLIST_INSERT_AFTER, SLIST_INSERT_HEAD, SLIST_REMOVE_HEAD, SLIST_REMOVE, SLIST_FOREACH, SLIST_EMPTY, SLIST_FIRST, SLIST_NEXT, SIMPLEQ_HEAD, SIMPLEQ_HEAD_INITIALIZER, SIMPLEQ_ENTRY, SIMPLE...
STAILQ_INSERT_TAIL(3EXT) Namequeue, SLIST_HEAD, SLIST_HEAD_INITIALIZER, SLIST_ENTRY, SLIST_INIT, SLIST_INSERT_AFTER, SLIST_INSERT_HEAD, SLIST_REMOVE_HEAD, SLIST_REMOVE, SLIST_FOREACH, SLIST_EMPTY, SLIST_FIRST, SLIST_NEXT, SIMPLEQ_HEAD, SIMPLEQ_HEAD_INITIALIZER, SIMPLEQ_ENTRY, SIM...