Multithread question

[email protected] Fri, 17 Nov 2017 19:00:38 +0100
Newsgroups gmane.comp.lang.pike.user
Organization Lleida.net
Message-ID <[email protected]>
Dear all,

We are trying to improve our systems in daily basis. We found out that 
when are using thread_create, which works to run simultaneously to the 
rest of the program, it seems to work only in one CPU while the rest of 
the CPU are idle.

Is there any way to use all the processor power? Do you have any 
recommendation to use all processor cores?

We've been trying to use the method Process.create_process()->create() 
but we are facing that when we use process we have to use bidirectional 
pipes to send information between those processes and we didn't find any 
way to send anything but strings. There is any way to send objects 
between processes?

http://pike.lysator.liu.se/generated/manual/modref/ex/predef_3A_3A/Process/create_process/create.html

Thanks in advance for your support.


-- 

*Daniel Parada *
Técnico de I+D+i | R&D Technician

[email protected] <mailto:[email protected]>
(+34) 651 420 294

*Parc Científic i Tecnològic Agroalimentari de Lleida*
Edifici H1 2a planta B | 25003 Lleida (Spain)
Tel. (+34) 973 282 300
Fax (+34) 973 282 195
www.lleida.net <http://www.lleida.net>

Política de privacidad <http://www.lleida.net/es/privacy.html>