[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [sc-dev] win32 priority
- To: sc-dev@xxxxxxxxxxxxxxxx
- Subject: Re: [sc-dev] win32 priority
- From: Tim Blechmann <tim@xxxxxxxxxx>
- Date: Fri, 28 Dec 2012 13:20:29 +0100
- Cc: Victor Bombi <sonoro@xxxxxxxxxxxxxx>
- In-reply-to: <67E62506A23D45DF94E4A388ED66BC19@victorPortatil>
- List-id: SuperCollider developers mailing list <sc-devel.create.ucsb.edu>
- References: <4D1D63C0EC2D47AC9E447E3A879B2E5C@victorPortatil> <D59151AAE3A448A586BD4A758DDB2403@victorPortatil> <A653CBCD518742F0A0D59977D4B28C53@victorPortatil> <BB83218193FC4D5FACFE318FAB1CD9B3@victorPortatil> <50DD8152.3030803@klingt.org> <67E62506A23D45DF94E4A388ED66BC19@victorPortatil>
- Reply-to: sc-dev@xxxxxxxxxxxxxxxx
- Sender: owner-sc-dev@xxxxxxxxxxxxxxxx
- User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/17.0 Thunderbird/17.0
>> supernova makes use of the priorities 3 times:
>> * drop rt scheduling of the main thread: on linux the subprocess
>> inherits the priority from the parent process (sclang runs with
>> real-time scheduling)
>> * dsp helper threads require the highest priority
> Is this called only once having 2 threads?
it is called N-1 times, so yes.
> Is void io_thread_init_functor::operator()() const used. server.cpp:235?
yes, the io_thread_init_functor is passed to the scheduler class as
template argument.
>> * network IO has low rt priority
> Is this called two times?
> osc_server.cpp:77 ?
should only be called once. i should probably remove the osc_server
class, as it is not used anymore.
> Another problem:
> priority cant be any number so you cant do something as priority = max - 3
this should probably be linux-only ... will adapt the code
_______________________________________________
sc-dev mailing list
info (subscription, etc.): http://www.beast.bham.ac.uk/research/sc_mailing_lists.shtml
archive: https://listarc.bham.ac.uk/marchives/sc-dev/
search: https://listarc.bham.ac.uk/lists/sc-dev/search/