Why not use AIO? Then you don't need to handle the thread creation,
etc. You would just specify what file descriptor, offset, and
length you want read. Then, when you are ready, you can see if the
AIO was completed.
Because I heard AIO is sometimes implemented as threads underneath :)
So I might as well write my own thread code, and cut out the overhead.
Also, I want my code to run on Mac MachO, Win32, and Linux, and Mac
Carbon too. Not sure how that will work out with AIO.
And finally... I just like learning and doing new things. So getting
threads to work is kinda cool to me.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
PerfOptimization-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden