Skip to content

Commit

Permalink
README
Browse files Browse the repository at this point in the history
  • Loading branch information
exodist committed Jul 23, 2010
1 parent e1ff7db commit 651c90b
Showing 1 changed file with 14 additions and 1 deletion.
15 changes: 14 additions & 1 deletion README
Expand Up @@ -111,6 +111,13 @@ OBJECT METHODS
Send the messages to the child. works like say, adds the seperator Send the messages to the child. works like say, adds the seperator
for you (usually "\n"). for you (usually "\n").


$child->autoflush( $BOOL )
Turn autoflush on/off for the current processes write handle. This
is on by default.

$child->flush()
Flush the current processes write handle.

$child->pid() $child->pid()
Returns the child PID (only in parent process). Returns the child PID (only in parent process).


Expand All @@ -135,9 +142,15 @@ OBJECT METHODS
$child->parent() $child->parent()
Returns the parent processes PID. (Only in child) Returns the parent processes PID. (Only in child)


$child->detach()
Detach the child from the parent. uses POSIX::setsid(). When called
in the child it simply calls setsid. When called from the parent the
USR1 signal is sent to the child which triggers the child to call
setsid.

HISTORY HISTORY
Most of this was part of Parrallel::Runner intended for use in the Most of this was part of Parrallel::Runner intended for use in the
Fennec project. Fennec is being brocken into multiple parts, this is one Fennec project. Fennec is being broken into multiple parts, this is one
such part. such part.


FENNEC PROJECT FENNEC PROJECT
Expand Down

0 comments on commit 651c90b

Please sign in to comment.