comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » Nice bridges
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: Nice bridges [message #93022 is a reply to message #93021] Mon, 11 April 2016 07:09 Go to previous messageGo to previous message
Yngvar Larsen is currently offline  Yngvar Larsen
Messages: 134
Registered: January 2010
Senior Member
On Monday, 11 April 2016 15:39:23 UTC+2, Mats Löfdahl wrote:
> Den måndag 11 april 2016 kl. 13:46:08 UTC+2 skrev Mats Löfdahl:
>> Is there a way to set the nice level of the child processes created by IDL_IDLBridge?
>>
>> /Mats
>
> This is in linux, by the way.

Something ugly like this should work. (Unix specific, obviously.)

IDL> b = idl_idlbridge()
% Loaded DLM: IDL_IDLBRIDGE.
IDL> b->execute, "pid = call_external('libc.so.6', 'getpid')"
IDL> pid = b->getvar('pid') & print, pid
39558
IDL> spawn, 'renice -n 19 '+string(pid)
39558: old priority 0, new priority 19

--
Yngvar
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Previous Topic: Plot with X-Axis ticks as string
Next Topic: wplot not zooming

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Sat Oct 11 10:42:36 PDT 2025

Total time taken to generate the page: 1.75671 seconds