Searched refs:writer (Results 1 - 13 of 13) sorted by relevance

/osnet-11/usr/src/cmd/perl/5.8.4/distrib/ext/IO/t/
H A Dio_pipe.t44 $pipe = new IO::Pipe->writer($perl, '-pe', $cmd);
62 $pipe->writer;
95 $pipe->writer;
108 $pipe->writer;
/osnet-11/usr/src/lib/libnisdb/
H A Dnisdb_rw.c78 rw->writer.id = rw->reader.id = INV_PTHREAD_ID;
79 rw->writer.count = rw->reader.count = 0;
80 rw->writer.next = rw->reader.next = 0;
195 rw->writer.id = myself;
196 rw->writer.count = 1;
228 /* Wait for reader(s) or writer to finish */
233 * - No writers (or writer is myself), and one of:
240 ((rw->writer_count == 0 || rw->writer.id == myself) &&
252 if (rw->writer_count == 0 || rw->writer.id == myself) {
296 rw->writer
[all...]
H A Dnis_hashitem.c48 * one-writer-or-many-readers locking. The following restrictions
284 item->readers = item->writer = 0;
287 item->writer = 1;
363 * There's a writer, but it's us
371 (item->writer == 0 && item->readers == 0))
373 if (item->writer == 0 && readwrite > 0)
375 if ((item->writer != 0 && item->writer_id == me))
387 if (item->writer == 0) {
391 item->writer++;
420 if (item->readers == 0 && item->writer
[all...]
H A Dnis_hashitem.h48 uint32_t writer; member in struct:__nis_item_item
H A Dnisdb_rw.h155 uint32_t writer_count; /* Number of writer threads [0, 1] */
156 __nisdb_rl_t writer; /* Writer record */ member in struct:__anon2013
/osnet-11/usr/src/cmd/perl/5.8.4/distrib/ext/IO/lib/IO/
H A DPipe.pm67 $fh = $rw ? $me->reader() : $me->writer(); # close the other end
117 sub writer { subroutine
118 @_ >= 1 or croak 'usage: $pipe->writer( [SUB_COMMAND_ARGS] )';
180 $pipe->writer();
214 C<reader> or C<writer> is called.
228 =item writer ([ARGS])
/osnet-11/usr/src/cmd/perl/5.8.4/distrib/ext/POSIX/t/
H A Dposix.t53 CORE::open($writer = \*WRITER, ">&=".$fds[1]);
54 print $writer "ok 6\n";
55 close $writer;
/osnet-11/usr/src/lib/libc/port/threads/
H A Drwlock.c175 * Check if a writer version of the lock is held by the current thread.
323 * Attempt to acquire a writer lock. Return true on success.
348 * Attempt to release a writer lock. Return true on success.
378 uint32_t writer; local
396 if (readers & URW_WRITE_LOCKED) /* drop the writer lock */
416 writer = 0; /* no current writer */
421 * a writer. If the highest priority thread on the queue is a
422 * writer, stop there and wake it up.
440 if (writer !
[all...]
/osnet-11/usr/src/lib/libdevinfo/
H A Ddevinfo_devlink.c3067 * If the handle is IS_RDWR then we lock as writer to "update" database,
3084 int writer = HDL_RDWR(hdp); local
3093 writer ? "update" : "snapshot");
3099 (writer ? (O_RDWR|O_CREAT) : O_RDONLY), DB_LOCK_PERMS)) < 0) {
3106 * /dev walk. If we get a failure as a writer we want the
3109 if ((errno == ENOENT) && !writer) {
3114 writer ? "update" : "snapshot");
3122 "WALK\n", writer ? "update" : "snapshot",
3128 writer ? "update" : "snapshot", strerror(errno));
3134 lock.l_type = writer
3167 int writer = HDL_RDWR(hdp); local
[all...]
/osnet-11/usr/src/cmd/perl/5.8.4/distrib/lib/IPC/
H A DOpen3.pm42 If either reader or writer is the null string, this will be replaced
67 If you try to read from the child's stdout writer and their stderr
68 writer, you'll have problems with blocking, which means you'll want
H A DOpen2.pm48 If either reader or writer is the null string, this will be replaced
/osnet-11/usr/src/lib/libslp/javalib/com/sun/slp/
H A DServiceTable.java1611 PrintWriter writer = new PrintWriter(sw);
1615 ex.printStackTrace(writer);
/osnet-11/usr/src/cmd/perl/5.8.4/distrib/ext/Storable/
H A DStorable.pm578 file readable by an older Storable, even if the writer didn't store newer

Completed in 80 milliseconds