On Tue, 2004-05-04 at 09:25, Dan Sugalski wrote:
> Okay, I'm working up the design for the event and IO system so we can 
> get that underway (who, me, avoid the unpleasantness of strings? 
> Nah... :) and I've come across an interesting question.
> 
> The way things are going to work with specific actions a program has 
> asked to be done, such as a disk read or write, is that you get back 
> a handle PMC that represents the request, and you can wait on that 
> handle for the request to be completed. The sequence goes something 
> like:
> 
>      write Px, Py, Sz     # Return handle, file, and data to write
>      waitfor Px           # Wait for the request to finish

So, all Parrot IO will be asynchronous? Does that mean that there's no
way to perform an atomic read or write?

-- 
Aaron Sherman <[EMAIL PROTECTED]>
Senior Systems Engineer and Toolsmith
"It's the sound of a satellite saying, 'get me down!'" -Shriekback


Reply via email to