littledan / linux-aio

How to use the Linux AIO feature
324 stars 42 forks source link

Fix undefined behavior. #5

Open ingomueller-net opened 4 years ago

ingomueller-net commented 4 years ago

The original version used IO control blocks from the stack, which will be overwritten after the function has returned. However, IO control blocks should live until the IO has completed.