V4RB 3.0 and pre-emptive threads
Dave Addey
listmail1 at dsl.pipex.com
Thu Jul 19 17:30:30 CDT 2007
Hi Ruslan,
Thanks for that - very useful!
Dave.
> From: Ruslan Zasukhin <sunshine at public.kherson.ua>
> Reply-To: Valentina Developers <valentina at lists.macserve.net>
> Date: Thu, 19 Jul 2007 22:17:56 +0300
> To: "valentina at lists.macserve.net" <valentina at lists.macserve.net>
> Conversation: V4RB 3.0 and pre-emptive threads
> Subject: Re: V4RB 3.0 and pre-emptive threads
>
> On 19/7/07 8:51 PM, "Dave Addey" <listmail1 at dsl.pipex.com> wrote:
>
> Hi Dave,
>
>> So if I made sure to perform all of my database access on one (and only one)
>> thread at a time, would that be safe?
>
> Yes.
>
>> I would need to be able to pass the
>> database access from thread to thread, I guess. Would this be possible
>> somehow?
>
> In Valentina server we have N threads. Each thread do some own task e.g.
> Handle network tasks, and prepare something, or logs. But when thread need
> touch kernel, he get first of all access to some single global mutex. This
> ensure that only one thread touch kernel at moment.
>
> In the near future we plan start increase parallelism of kernel. For example
> it looks easy enough allow that each thread do PARSING of SQL query
> parallel.
>
>
> Again, you need just use single mutex from few threads.
>
>
> --
> Best regards,
>
> Ruslan Zasukhin
> VP Engineering and New Technology
> Paradigma Software, Inc
>
> Valentina - Joining Worlds of Information
> http://www.paradigmasoft.com
>
> [I feel the need: the need for speed]
>
>
> _______________________________________________
> Valentina mailing list
> Valentina at lists.macserve.net
> http://lists.macserve.net/mailman/listinfo/valentina
More information about the Valentina
mailing list