This content has been marked as final. Show 2 replies
I am working on porting of a Windows NT applicationBad luck, there isn't such support in SOLARIS. You can simulate this by using async I/O
which uses IOCompletion ports. I would like to know
how the same can be implemented in Solaris and it
would be helpful if can get some sample source code
for the same.
aioread/aiowrite and dedicating special threads for receiving the SIGIO signals. These threads
will make an aiowait loop. Unfortunately, you will receive signals for ANY kind of async I/O so you
must be able to deduce yourself the relevant file-descriptor associated with the specific I/O.
Also, you must know that async I/O is often masked as by using dedicated threads with
synchronous I/O. I think that only for volumes, async I/O is really asynchronous.
Hope it helps.