Home » The PARIS Forums » PARIS: Main » Scherzo news...
|
|
|
|
|
|
Re: Scherzo news... [message #101183 is a reply to message #101175] |
Wed, 19 November 2008 18:40 |
mike audet[1]
Messages: 129 Registered: February 2006
|
Senior Member |
|
|
Hey, I'm not sure I'm worthy!
Well, to explain this better...
There is a block of code that runs every time a piece of hardware interrupts
Windows to say "Hey, I'm ready for more data!" Microsft has put severe restrictions
on that code because if anything goes wrong with it, the whole computer crashes.
One of the restrictions is that you can't use the tools that you would usually
use to allow code to run on more than one CPU at once. They left one, single
type of list that you can use that is safe in a multiple CPU environment
- and I guess everyone just uses it. It's really weird to me, but it works
just fine.
So, to make a long story short, I had to replace all the code that stores
the info sent between the cards and the PARIS app with this new kind of list.
I just finished removing all of the old list code, and PARIS is still running
fine. :)
I've been so swamped teaching that I haven't been able to work on this for
two months. My report cards went in last week, so Sunday I spent 3 hours,
and I've spent a few hours tonight. It's moving fast.
Mike
EK Sound <ask_me@nospam.net> wrote:
>I just put this text into Babblefish and I still can't understand it...
;-)
>
>Everyone repeat after me.... We're not worthy!
>
>David.
>
>Mike Audet wrote:
>> Hi All,
>>
>> I've just past a really important milestone. In order to make the Scherzo
>> thread-safe, I had to replace the circular arrays used by the original
Scherzo
>> with special Microsoft defined linked lists. I figured that would be
the
>> hardest part. It didn't turn out to be all that hard. I was just afraid
>> of it because I had never worked with anything like the Microsoft linked
>> lists.
>>
>> Anyway, I'm playing audio on a new build that uses the linked lists. :)
>>
>> The next step is moving the functionality of the delayed procedure call
into
>> the ISR and placing the ISR spinlock around the functions that change
the
>> IRQ masks.
>>
>> We're making progress.
>>
>> Mike
>>
>>
>>
>>
|
|
|
|
Re: Scherzo news... [message #101186 is a reply to message #101185] |
Wed, 19 November 2008 19:40 |
mike audet[1]
Messages: 129 Registered: February 2006
|
Senior Member |
|
|
It's just the driver I'm working with. If all goes well, we won't have to
jump through any hurdles to work on multi-core machines. It's possible that
the PARIS app may have threading issues, in which case we will still need
hoops for the PARIS app, but not for the ASIO driver.
Good times ahead. :)
"Tom Bruhl" <arpegio@comcast.net> wrote:
>Hi Mike,
>
>That sounds really great. Now we're talking about the Scherzo drivers
>not the whole Paris app right? What benefit will this give us when
>you get it ready for prime time? Will this eliminate some of the
>multicore hurdles we have to jump now?
>
>I am totally ready for whatever it is you can do for us and will gladly
>pay you for your service.
>
>Thankfully yours,
>Tom
>
>
>
>
>"Mike Audet" <mike@....> wrote in message news:4924bd52$1@linux...
>>
>> Hi Tom,
>>
>> Thread-safe means that the code can be running on multiple CPUs at once
>> without
>> crashing.
>>
>> Cheers!
>>
>> Mike
>>
>>
>> "Tom Bruhl" <arpegio@comcast.net> wrote:
>>>Hey there Milestone Mike,
>>>
>>>Now, what does thread-safe mean?
>>>
>>>Tom
>>>
>>>
>>>
>>>"Ted Gerber" <tedgerber@rogers.com> wrote in message
>>>news:4924ae54$1@linux...
>>>>
>>>> Thanks Mike!
>>>>
>>>> Ted
>>>>
>>>>
>>>> "Mike Audet" <mike@....> wrote:
>>>>>
>>>>>Hi All,
>>>>>
>>>>>I've just past a really important milestone. In order to make the
>>>>>Scherzo
>>>>>thread-safe, I had to replace the circular arrays used by the original
>>
>>>>>Scherzo
>>>>>with special Microsoft defined linked lists. I figured that would be
>> the
>>>>>hardest part. It didn't turn out to be all that hard. I was just
>>>>>afraid
>>>>>of it because I had never worked with anything like the Microsoft linked
>>>>>lists.
>>>>>
>>>>>Anyway, I'm playing audio on a new build that uses the linked lists.
:)
>>>>>
>>>>>The next step is moving the functionality of the delayed procedure call
>>>> into
>>>>>the ISR and placing the ISR spinlock around the functions that change
>> the
>>>>>IRQ masks.
>>>>>
>>>>>We're making progress.
>>>>>
>>>>>Mike
>>>>>
>>>>>
>>>>>
>>>>>
>>>>
>>>
>>>
>>
>
>
|
|
|
|
|
|
|
|
Goto Forum:
Current Time: Fri Dec 13 02:33:33 PST 2024
Total time taken to generate the page: 0.05951 seconds
|