Modify a struct in shared memory

后端 未结 0 1116
别跟我提以往
别跟我提以往 2020-12-18 01:37

i\'m tryng to create a pointer-based queue in shared memory

This my enqueue function

void enqueue(queue *q, int k) {   
    _queueNode *temp = mmap(NUL         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题