Messages in this thread | | | Date | Mon, 13 Aug 2012 14:35:26 +0400 | From | Stanislav Kinsbursky <> | Subject | Re: [PATCH v3 08/10] IPC: message queue copy feature introduced |
| |
12.08.2012 13:48, Manfred Spraul пишет: > I would keep it simple - unless there is a clear use case where "peek > by id" is useful. > > Or - since MSG_COPY is linux specific anyway: > What about storing the number of the message that should be returned in *msgp? > Store it as "int64", just to avoid any 32/64 bit issues.
Sounds reasonable. But, probably, mtype suit better for message number. I'll update.
-- Best regards, Stanislav Kinsbursky -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |