id,summary,reporter,owner,description,type,status,priority,milestone,component,version,severity,resolution,keywords,cc,lang,patch,platform
1564,expose a getpid library function for Rakudo $*PID and other languages,mberends,NotFound,"Please enable language implementations to read the ID of the running Parrot process.  Coke++ implemented it in partcl with an ""evil"" workaround:

http://github.com/partcl/partcl/blob/master/runtime/builtin/pid.pir

In Windows the lib should not be null, it should get the loadlib 'kernel32' result, and the function name is '_getpid' instead of 'getpid'.

The idea was discussed during about an hour from http://irclog.perlgeek.de/parrot/2010-04-19#i_2242886

The Rakudo file src/cheats/setup-io.pm intends to use this function.  In the meantime, it may get by with a workaround similar to the one in partcl.",feature,closed,normal,,core,trunk,medium,done,process ID pid getpid,,perl6,,all
