Re: [MSEide-MSEgui-talk] Some question about MSE thread...

2017-07-18 Thread Martin Schreiber
On Tuesday 18 July 2017 06:48:05 Martin Schreiber wrote: > > The idea is that one uses parameters of tmythread.create() or one has a > main container object with the thread worker loop and where the tmsehread > is a subobject like in tthreadcomp. The thread will be created after > setting up the

Re: [MSEide-MSEgui-talk] Some question about MSE thread...

2017-07-18 Thread Fred van Stappen
>An example is here: > https://gitlab.com/mseide-msegui/mseuniverse/tree/master/samples/thread/classwiththread Thanks Martin, I will take a look and try to understand what yu want. Huh, what dont you like with the actual Tuos_Player = class(tmsethread) ? The fact that this objects are part of

Re: [MSEide-MSEgui-talk] Some question about MSE thread...

2017-07-18 Thread Fred van Stappen
>An example is here: > https://gitlab.com/mseide-msegui/mseuniverse/tree/master/samples/thread/classwiththread Ha, ok, I see. Hum, what are the advantage to use a custom class with a thread inside and all the objects part of the class vs a custom thread with all the objects part of the

Re: [MSEide-MSEgui-talk] Some question about MSE thread...

2017-07-18 Thread Martin Schreiber
On Tuesday 18 July 2017 14:53:53 Fred van Stappen wrote: > >An example is here: > > > > https://gitlab.com/mseide-msegui/mseuniverse/tree/master/samples/thread/c > >lasswiththread > > Ha, ok, I see. > > Hum, what are the advantage to use a custom class with a thread inside and > all the objects

Re: [MSEide-MSEgui-talk] Some question about MSE thread...

2017-07-18 Thread Martin Schreiber
On Tuesday 18 July 2017 15:15:01 Fred van Stappen wrote: > >An example is here: > > https://gitlab.com/mseide-msegui/mseuniverse/tree/master/samples/thread/c > >lasswiththread > > Re-re hello Martin. > > > Aaargh, you make me full of doubt. > > If I understand ok, for you, uos_play() must be the

Re: [MSEide-MSEgui-talk] Some question about MSE thread...

2017-07-18 Thread Fred van Stappen
>An example is here: > https://gitlab.com/mseide-msegui/mseuniverse/tree/master/samples/thread/classwiththread Re-re hello Martin. Aaargh, you make me full of doubt. If I understand ok, for you, uos_play() must be the creator of the thread ? But, would it not be faster to create the thread

Re: [MSEide-MSEgui-talk] Some question about MSE thread...

2017-07-18 Thread Fred van Stappen
Hello Martin. OK, your advices are order. Now uos_Player is a class that has a thread as child. The conversion was 1,2,3 for msethreads but 1,2,3,4,1,2,3,4,1,2,3,4,... for TThread (needs parent variable). But well, the conversion is done and all works as expected. Commit: 3acd6e3 of