pcp
[Top] [All Lists]

Opening multiple contexts

To: pcp@xxxxxxxxxxx
Subject: Opening multiple contexts
From: Olivier Tarnus <o.tarnus@xxxxxxx>
Date: Fri, 22 Oct 2004 15:29:22 +0200
Sender: pcp-bounce@xxxxxxxxxxx
User-agent: Mozilla Thunderbird 0.8 (X11/20040917)
Hi all,

I was wondering if it's possible to open multiple contexts and specifying them in pmFetch or pmLookupDesc... I want to get multiple data from multiple hosts in the same program, and as pmapi is not thread safe, the only alternative would be to go multi-process and opening contexts in each process.
However this would greaty complicate access to gathered data, so is fork() my only alternative???


Thanks
Olivier

<Prev in Thread] Current Thread [Next in Thread>