Previous topic |
Next topic |
Contents |
Contact z/OS |
Library |
PDF
Cancel phase z/OS UNIX System Services File System Interface Reference SA23-2285-00 |
|
The LFS goes through the Cancel phase by invoking vn_select(Cancel)
for each file descriptor when:
During vn_select(Cancel), the PFS is expected to do the following:
The LFS collects status from all of the files and reports it back
to the program that called select().
Note: Although
it is rare in practice, there is nothing to stop a user from selecting
and reading on the same socket from two different processes or threads.
Consequently, it is technically possible that an event that is reported
by select may no longer be true when the selecting program finally
acts on the information. A selecting program may not act on the information,
but pass it off to another process to handle. Therefore, reporting
back on select does not reserve the data or buffers for the caller;
it merely reports the status of the file at that time.
|
Copyright IBM Corporation 1990, 2014
|