[VSDK] Macho PB 1.9.8

Ruslan Zasukhin sunshine at public.kherson.ua
Sat Oct 4 10:32:19 CDT 2003


on 10/4/03 10:21 AM, Totte Alm at totte at code66.se wrote:

>> In main app no freeze?
> When I this running as a singlethreaded app (from terminal window),
> yes, hang. The task isnt a PThread "really", but run like a terminal
> tool using system();
>> 
>> What difference between them?
> nope. The same code, but there are 1000s of databases, and the larger
> the database is, the greater probability this happens.
> 
> The bundler process really walks from record 1 -> record n, using two
> cursors, comparing record cursor1 with cursors2+1, and if they match,
> creates a new record of th same kind in
> the table. This is done by
> MakeBundle(VDK_Cursor*, VDK_Cursor*, BundleInfoRecord*), which picks
> data from the two, and summary up shares etc.
> 
> 
>> 
>> Main app also macho?
> 
> Yes
>> Also use pthreads?
> Not threaded ( as VDK 1.x isnt threadsafe, but we been there before
> havent we), so the threading is done this way (closing database, fire a
> too), the when tool done, it tells main app, and it reopens the
> database.

Totte,

As you see, Valentina calls pthread...
I cannot solve this in mind, Totte.

-- 
Best regards,
Ruslan Zasukhin      [ I feel the need...the need for speed ]
-------------------------------------------------------------
e-mail: ruslan at paradigmasoft.com
web: http://www.paradigmasoft.com

To subscribe to the Valentina mail list go to:
http://lists.macserve.net/mailman/listinfo/valentina
-------------------------------------------------------------



More information about the Valentina mailing list