| Don't worry, I won't remove them if someone is using them. And also
wasn't planning on removing them if there was no consensus.
Saludos,
Felipe Sateler
On Mon, May 25, 2009 at 01:25, Michael Gogins wrote:
> I am using them. Please do not remove them unless you replace them
> with something else that does the same job, only better. If you do
> remove them I will put them back.
>
> Regards,
> Mike
>
> On 5/24/09, Felipe Sateler wrote:
>> Since nobody is using these functions yet we can consider them an error, and
>> stop exporting them. Technically we changed the API, but no harm is done.
>>
>> El lunes 11 de mayo, jpff@cs.bath.ac.uk escribió:
>>> One could leave the API unchanged if the int was used as an index into a
>>> tatable of pthread_mutex_t*
>>> Painful but saves all the gassle of API change?
>>>
>>> I still think mutexs are better that spinlocks; with the parallel Csound
>>> we have seen scheduling problems with spinlocks.
>>>
>>> ==John ff
>>>
>>> > I'm taking a shot at replacing the current spinlock implementation with
>>> > mutexes. However, it seems that it will require an API bump:
>>> >
>>> > PUBLIC int *csoundGetChannelLock
>>> >
>>> > I don't get why do locks have to be exported, though.
>>> >
>>> > El lunes 11 de mayo, jpff@cs.bath.ac.uk escribió:
>>> >> Indeed. Talking it over with local experts I had concluded that we
>>> >> should
>>> >> use mutexes until and unless we have a need for spinlocks. I was going
>>> >> to
>>> >> attemot that change when time allowed. Feel free......
>>> >> =John ff
>>> >>
>>> >> > Perhaps we could use mutexes as a start and then optionally change
>>> >>
>>> >> them
>>> >>
>>> >> > to spinlocks when supported. Since using either is very similar in
>>> >> > pthreads implementation, we can switch them to test if spinlocks are
>>> >> > effectively faster.
>>> >> >
>>> >> > El viernes 1 de mayo, michael.gogins@gmail.com escribió:
>>> >> >> Performance is indeed the motivation for these spinlocks. I am
>>> >>
>>> >> looking
>>> >>
>>> >> >> to
>>> >> >> the near future where 4 or more cores are running Csound instruments
>>> >>
>>> >> on
>>> >>
>>> >> >> up
>>> >> >> to dozens of threads. In that case, spinlocks seem to promise a
>>> >> >> significant
>>> >> >> performance advantage over mutexes, especially because we would not
>>> >> >> expect
>>> >> >> the locks to do much actual spinning. Each lock contention would be
>>> >>
>>> >> in
>>> >>
>>> >> >> cache and involve a short loop and some CAS, rather than hopping out
>>> >>
>>> >> to
>>> >>
>>> >> >> the
>>> >> >> OS.
>>> >> >>
>>> >> >> Regards,
>>> >> >> Mike
>>> >> >>
>>> >> >> ----- Original Message -----
>>> >> >> From: "Felipe Sateler"
>>> >> >> To: "Developer discussions"
>>> >> >> Sent: Friday, May 01, 2009 12:05 AM
>>> >> >> Subject: Re: [Cs-dev] Spinlocks
>>> >> >>
>>> >> >> > -------------------------------------------------------------------
>>> >> >> >--- --- ----- Register Now & Save for Velocity, the Web Performance
>>> >> >> > &
>>> >> >>
>>> >> >> Operations
>>> >> >>
>>> >> >> > Conference from O'Reilly Media. Velocity features a full day of
>>> >> >> > expert-led, hands-on workshops and two days of sessions from
>>> >>
>>> >> industry
>>> >>
>>> >> >> > leaders in dedicated Performance & Operations tracks. Use code
>>> >> >>
>>> >> >> vel09scf
>>> >> >>
>>> >> >> > and Save an extra 15% before 5/3. http://p.sf.net/sfu/velocityconf
>>> >> >>
>>> >> >> ---------------------------------------------------------------------
>>> >> >>--- --- -----
>>> >> >>
>>> >> >> > _______________________________________________
>>> >> >> > Csound-devel mailing list
>>> >> >> > Csound-devel@lists.sourceforge.net
>>> >> >> > https://lists.sourceforge.net/lists/listinfo/csound-devel
>>> >> >>
>>> >> >> ---------------------------------------------------------------------
>>> >> >>--- --- --- Register Now & Save for Velocity, the Web Performance &
>>> >> >> Operations Conference from O'Reilly Media. Velocity features a full
>>> >>
>>> >> day
>>> >>
>>> >> >> of expert-led, hands-on workshops and two days of sessions from
>>> >>
>>> >> industry
>>> >>
>>> >> >> leaders in dedicated Performance & Operations tracks. Use code
>>> >>
>>> >> vel09scf
>>> >>
>>> >> >> and Save an extra 15% before 5/3. http://p.sf.net/sfu/velocityconf
>>> >> >> _______________________________________________
>>> >> >> Csound-devel mailing list
>>> >> >> Csound-devel@lists.sourceforge.net
>>> >> >> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>> >> >
>>> >> > Saludos,
>>> >> > Felipe Sateler
>>> >> >
>>> >> > ----------------------------------------------------------------------
>>> >> >--- ----- The NEW KODAK i700 Series Scanners deliver under ANY
>>> >>
>>> >> circumstances!
>>> >>
>>> >> > Your production scanning environment may not be a perfect world - but
>>> >> > thanks to Kodak, there's a perfect scanner to get the job done! With
>>> >>
>>> >> the
>>> >>
>>> >> > NEW KODAK i700
>>> >> > Series Scanner you'll get full speed at 300 dpi even with all image
>>> >> > processing features enabled. http://p.sf.net/sfu/kodak-com
>>> >> > _______________________________________________
>>> >> > Csound-devel mailing list
>>> >> > Csound-devel@lists.sourceforge.net
>>> >> > https://lists.sourceforge.net/lists/listinfo/csound-devel
>>> >>
>>> >> ------------------------------------------------------------------------
>>> >>--- --- The NEW KODAK i700 Series Scanners deliver under ANY
>>> >> circumstances! Your
>>> >> production scanning environment may not be a perfect world - but thanks
>>> >> to
>>> >> Kodak, there's a perfect scanner to get the job done! With the NEW
>>> >> KODAK
>>> >> i700 Series Scanner you'll get full speed at 300 dpi even with all
>>> >> image
>>> >> processing features enabled. http://p.sf.net/sfu/kodak-com
>>> >> _______________________________________________
>>> >> Csound-devel mailing list
>>> >> Csound-devel@lists.sourceforge.net
>>> >> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>> >
>>> > Saludos,
>>> > Felipe Sateler
>>> >
>>> > -------------------------------------------------------------------------
>>> >----- The NEW KODAK i700 Series Scanners deliver under ANY circumstances!
>>> > Your production scanning environment may not be a perfect world - but
>>> > thanks to Kodak, there's a perfect scanner to get the job done! With the
>>> > NEW KODAK i700
>>> > Series Scanner you'll get full speed at 300 dpi even with all image
>>> > processing features enabled. http://p.sf.net/sfu/kodak-com
>>> > _______________________________________________
>>> > Csound-devel mailing list
>>> > Csound-devel@lists.sourceforge.net
>>> > https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>
>>> ---------------------------------------------------------------------------
>>>--- The NEW KODAK i700 Series Scanners deliver under ANY circumstances!
>>> Your
>>> production scanning environment may not be a perfect world - but thanks to
>>> Kodak, there's a perfect scanner to get the job done! With the NEW KODAK
>>> i700 Series Scanner you'll get full speed at 300 dpi even with all image
>>> processing features enabled. http://p.sf.net/sfu/kodak-com
>>> _______________________________________________
>>> Csound-devel mailing list
>>> Csound-devel@lists.sourceforge.net
>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>
>>
>>
>> Saludos,
>> Felipe Sateler
>>
>
>
> --
> Michael Gogins
> Irreducible Productions
> http://www.michael-gogins.com
> Michael dot Gogins at gmail dot com
>
> ------------------------------------------------------------------------------
> Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT
> is a gathering of tech-side developers & brand creativity professionals. Meet
> the minds behind Google Creative Lab, Visual Complexity, Processing, &
> iPhoneDevCamp asthey present alongside digital heavyweights like Barbarian
> Group, R/GA, & Big Spaceship. http://www.creativitycat.com
> _______________________________________________
> Csound-devel mailing list
> Csound-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/csound-devel
>
------------------------------------------------------------------------------
Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT
is a gathering of tech-side developers & brand creativity professionals. Meet
the minds behind Google Creative Lab, Visual Complexity, Processing, &
iPhoneDevCamp asthey present alongside digital heavyweights like Barbarian
Group, R/GA, & Big Spaceship. http://www.creativitycat.com
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net
https://li |