[VSDK] Macho PB 1.9.8

Ruslan Zasukhin sunshine at public.kherson.ua
Mon Oct 6 20:31:24 CDT 2003


on 10/6/03 7:56 PM, Totte Alm at totte at code66.se wrote:

>> The thread classes FBL_ThreadMac.cpp and others,
>> Present in the sources of VSDK.
>> Correct?
>> 
>> May be you can make some breakpoints inside of them to see what is
>> wrong
>> when it work in your app?
> 
> In the Framework, they are just present as headers.
> FBL_Thread.h
> FBL_Task.h
> FBL_ThreadNative.h
> 
> I wonder - why is a thread started at all??? Can I tell Valentina to
> "DONT THREAD"??

I also have think about this !!!

Please look into FBL_DoIndexing.cpp file.
Here present 

long FBL_Task::DoIndexing( FBL_Task* inIndexTask )
{

#if USE_PROGRESS_DIALOG == 1

    return ODB_ProgressDialog::DoTaskProgress( inIndexTask );

#else

    // Just execute a task in the current thread.
    FBL_Deleter<FBL_Task> Killer( inIndexTask );
    inIndexTask->Run();
    return inIndexTask->GetError();
    
#endif
    
}

May be you have set this USE_PROGRESS_DIALOG macro on ?
I use it ON only inside of VAPP.

The second branch must execute indexing in THE SAME thread of main app.
May be you run Valentina kernel in separate thread?

In any case above you see the entry point of indexing start.

> This runs in a commandline shelltool, I need to coopthread ;.-) The
> task itself is one big thread!



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