[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [sc-dev] atomic, priority, semaphores
- To: sc-dev@xxxxxxxxxxxxxxxx
- Subject: Re: [sc-dev] atomic, priority, semaphores
- From: Tim Blechmann <tim@xxxxxxxxxx>
- Date: Thu, 27 Dec 2012 11:11:12 +0100
- In-reply-to: <94B146ABC9A743718F205E278F4729F2@victorPortatil>
- List-id: SuperCollider developers mailing list <sc-devel.create.ucsb.edu>
- References: <FE66B56EF1E84A609E808EC22E0B194F@victorPortatil> <50DACBEF.1020401@klingt.org> <94B146ABC9A743718F205E278F4729F2@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
>>> 3:was to implement win32 semaphores which I think that incremented
>>> stability and that I send you as file semaphore_win32.hpp and has
>>> worked for me.
>>
>> let me have a look again (btw, patches are much nicer to deal with than
>> just files, as they can be applied with `git am')
>
> This is the most significative for me. Yesterday I tried without this and
> sometimes supernova gets hung.
would you be able to provide a real patch for this? (fyi, nova-tt is a
git submodule with a separate build system for its testsuite). some
comments on the code:
* no #warning noise
* inclusion checks if semaphore.hpp should be if (a) X elif (b) Y ...
not if (a) X else (if (b)) Y endif endif
* you are using functions that require the use of Windows.h, but without
including it.
* there are several TODOs
* the file is guarded with NOVA_TT_SEMAPHORE_POSIX_HPP, thought the name
should contain WIN32 instead of POSIX
btw, i really appreciate your contributions. if i have a number of
requests it is mainly because i'm concerned about code quality and
long-term maintenance ...
cheers, tim
_______________________________________________
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/