kc7rad@vegasnet.net wrote:
Has anyone here experimented with pipes, shared memory, semaphores, message queues, etc in Linux with GPC? I curious if there are any units or modules that help do any of this.
I've done a little with pipes. I wrote the following routines (mainly because I needed one of them to do some printing via lpr in GPC). They're written in C (but the Pascal declarations are included), so that they're portable (among Unix systems, this is -- of course, they won't work under Dos).
Frank
-- Frank Heckenbach, frank@fjf.gnu.de http://fjf.gnu.de/ PGP and GPG keys: http://fjf.gnu.de/plan
begin 600 pipe.tar.gz M'XL(`%OR5C8"`^U8;7/;-A+V9_Z*;>XFHCRR3,J)?(F:FRJNE6CJV!I)OIRO MX]-`)"AA0H$<`)2CIOGOW05)F7)3UVE[[4V&.Q[)6`#[^NQ"0"I2W@[V_J?D M>U[7\V`/`([_-M_\L1^$QU[3X`NMW.TZ?=8]_KXJS7[?I[X.W]"91IPQ3` M7J28?'?O.J[TWA='A_M.:B$`!P>`_PFY@)`9!I%*5L!D"":!5"4!UYIK9T!1 M@M<>,?EG`7+%OC/GOWCP/<._([C3)="0R1B3CO6(N0XRF1@1"(UW`BS!+/D M$"5QG-R0HA'3`8LAY$',%+/+GCM.N05@A)8-R`Y+[HBAA.=P,C$*=_>@KQ;_ M:L&I7(^0.RK8NHDK!FC#R*@>G/3NB)LF!>H>*JX';YDP+3B)$\TO,I-F!J=? M)DG,F;RKRP8JS!3?FMZ7(:I\L*XU8I&VS:S8%DR3_#^H*KK/(&L&)H)K7HD] M8=S8X!>IA)LE[H:4S,*<+<2:2YAO@.QLV50YM)JI1;;BTFAK,+A6#F4N1T<Q M"U[3(H7+M5")M"QRK>40-U"<&4[8(C@4J#I,%`&K8A'7#3)3ADR%D%BW#H7$ MSS9Y4VQG&%G%3:8D#X'I/"8:7!0UYX`E&N8PZVLM%M+.-MMP(1VN5*):($5, M[I8BVC",;#2)J3D&=2=$(HY!)H9$6=YZ&32H`@6F(S%\2:O%#)*D^E0U1/ M)+F:H8H")UB*.-Q5$]!2$(92%:+W+1`2$A5RE=<?7Y."!3<V^N0<B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