Re: Multithreading librapi for green threads

2009-07-13 Thread David Richardson
On Sun, Jul 12, 2009 at 9:46 AM, Mark Ellis wrote: > On Sat, 2009-07-11 at 13:35 +0200, David Eriksson wrote: > > [Sorry for dupes of this.] > > > > Hi, > > > > First of all, it's wonderful to hear that you make good use of SynCE. I > > would really appreciate if you are able share some more abou

Re: Multithreading librapi for green threads

2009-07-12 Thread David Eriksson
On Sun, 2009-07-12 at 17:46 +0100, Mark Ellis wrote: [snip] > > MS buils these interfaces on top of the Component Object Model (COM) so > > C++ would be a natural fit, but if you implement it in C for easier Ruby > > bindings that's fine. Just add "this" (or "self" :-) as first parameter. > > (I

Re: Multithreading librapi for green threads

2009-07-12 Thread Mark Ellis
On Sat, 2009-07-11 at 13:35 +0200, David Eriksson wrote: > [Sorry for dupes of this.] > > Hi, > > First of all, it's wonderful to hear that you make good use of SynCE. I > would really appreciate if you are able share some more about the > context you use SynCE in, either to the list or privately

Re: Multithreading librapi for green threads

2009-07-11 Thread David Eriksson
[Sorry for dupes of this.] Hi, First of all, it's wonderful to hear that you make good use of SynCE. I would really appreciate if you are able share some more about the context you use SynCE in, either to the list or privately. (It's great to see one's kids grow up I think that you should model

Re: Multithreading librapi for green threads

2009-07-11 Thread Mark Ellis
On Sat, 2009-07-11 at 02:06 +0200, David Richardson wrote: > I'm using librapi for some really cool testing framework stuff at > Flexilis. I'm really trying to push the limits of the library. I've > wrapped librapi in ruby using Ruby::DL but currently I have to mutex > on any RAPI call. I'd real

Multithreading librapi for green threads

2009-07-10 Thread David Richardson
I'm using librapi for some really cool testing framework stuff at Flexilis. I'm really trying to push the limits of the library. I've wrapped librapi in ruby using Ruby::DL but currently I have to mutex on any RAPI call. I'd really like to only have to mutex per-device. Ruby only uses green thre