You can also pass parameters to your phantom ARG1 = thread_number EXECUTE "PHANTOM myprogram ":ARG1
Which would be picked up in the usual manner, @SENTENCE on unidata, presume similar on UV. Ed -----Original Message----- From: [email protected] [mailto:[email protected]] On Behalf Of George Gallen Sent: 27 August 2009 20:15 To: U2 Users List Subject: [U2] Passing varibles between processes ok. I'm toying with making a socket server I have program A, which receives the socket requests, then I want to fire off a phantom to process the socket when it comes in. How can I pass the SOCKET handle from the main program to the phantom process. Because it's a phantom, it gets a whole new workspace, and named commons won't do the job. This is on UV 10 / linux George Gallen Senior Programmer/Analyst Accounting/Data Division, EDI Administrator [email protected] ph:856.848.9005 Ext 220 The Wyanoke Group http://www.wyanokegroup.com _______________________________________________ U2-Users mailing list [email protected] http://listserver.u2ug.org/mailman/listinfo/u2-users ------------------------------------------------------------------------------------------- Please remember to recycle wherever possible. Reduce, reuse, recycle, think do you need to print this e-mail? ------------------------------------------------------------------------------------------- This e-mail and any attachment(s), is confidential and may be legally privileged. It is intended solely for the addressee. If you are not the addressee, dissemination, copying or use of this e-mail or any of its content is prohibited and may be unlawful. If you are not the intended recipient please inform the sender immediately and destroy the e-mail, any attachment(s) and any copies. All liability for viruses is excluded to the fullest extent permitted by law. It is your responsibility to scan or otherwise check this email and any attachment(s). Unless otherwise stated (i) views expressed in this message are those of the individual sender (ii) no contract may be construed by this e-mail. Emails may be monitored and you are taken to consent to this monitoring. Civica Services Limited, Company No. 02374268; Civica UK Limited, Company No. 01628868 Both companies are registered in England and Wales and each has its registered office at 2 Burston Road, Putney, London, SW15 6AR. ------------------------------------------------------------------------------------------- _______________________________________________ U2-Users mailing list [email protected] http://listserver.u2ug.org/mailman/listinfo/u2-users
