Messages in this thread | | | Date | Thu, 23 Nov 2006 14:34:46 -0800 | From | Ulrich Drepper <> | Subject | Re: [take25 1/6] kevent: Description. |
| |
Hans Henrik Happe wrote: > I don't know if this falls under the simplification, but wouldn't there be a > race when reading/copying the event data? I guess this could be solved with > an extra user index.
That's what I said, reading the value from the ring buffer structure's head would be racy. All this can only work for single threaded code.
-- ➧ Ulrich Drepper ➧ Red Hat, Inc. ➧ 444 Castro St ➧ Mountain View, CA ❖ - 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/
| |