[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[sc-dev] Re: Really weird pattern issue after updating from svn



On 12/30/2009 06:05 PM, James Harkins wrote:
Look for the section starting at line 3173. These two lines were deleted in
r9598, but not replaced:

thread->beats.uf = g->thread->beats.uf;
thread->seconds.uf = g->thread->seconds.uf;

This is in the section of prRoutineResume that handles state == tInit (i.e.,
the first time the routine wakes up). By contrast, the next section (state
== tSuspended)*does*  include:

SetRaw(&thread->beats, slotRawFloat(&g->thread->beats));
SetRaw(&thread->seconds, slotRawFloat(&g->thread->seconds));


ouch ... good eye ... i hope, there is no other code missing with these patches ... this fix looks good, please commit ... i won't be able to do it before tomorrow ...

tim

--
tim@xxxxxxxxxx
http://tim.klingt.org

Which is more musical, a truck passing by a factory or a truck passing
by a music school?
  John Cage


_______________________________________________
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/