Home » Developing U++ » U++ Developers corner » The plan....
Re: The plan.... [message #17781 is a reply to message #17772] |
Thu, 28 August 2008 15:54 |
zsolt
Messages: 698 Registered: December 2005 Location: Budapest, Hungary
|
Contributor |
|
|
luzr wrote on Thu, 28 August 2008 14:46 |
zsolt wrote on Thu, 28 August 2008 08:21 |
luzr wrote on Thu, 28 August 2008 09:02 |
Maybe we should make CtrlCore fully MT safe (in common sense, where you are required to serialize access to single widget by multiple threads).
PostCallback is good, but sometimes more straighforward solution would be even better...
Mirek
|
A thread safe Callback system would be much more useful, I think.
|
Callback itself is thread-safe.
And, I guess, PostCallback method can be considered a thread-safe callback system; that is what we have now...
What else should it do? (Note that it is technically impossible to call another thread's routine - that would be "interrupt").
Mirek
|
I would like an inter-thread communication framework:
- threads are waiting for a job queue
- threads can have special job-creating Callback like objects
- threads can register their methods to that Callback like objects of other threads ( in a type-safe way, like with current callback functions or THISBACK macros)
- when a thread calls it's own Callback like object, it creates the job-objects and puts them to the fifos of registered threads
- threads are executing jobs from fifos on their own threads
|
|
|
|
|
The plan....
By: mirek on Sun, 24 August 2008 18:56
|
|
|
Re: The plan....
By: unodgs on Sun, 24 August 2008 19:57
|
|
|
Re: The plan....
By: chickenk on Mon, 25 August 2008 11:18
|
|
|
Re: The plan....
By: mirek on Mon, 25 August 2008 11:39
|
|
|
Re: The plan....
|
|
|
Re: The plan....
By: captainc on Mon, 25 August 2008 18:45
|
|
|
Re: The plan....
By: unodgs on Mon, 25 August 2008 20:08
|
|
|
Re: The plan....
|
|
|
Re: The plan....
By: mirek on Tue, 26 August 2008 09:09
|
|
|
Re: The plan....
|
|
|
Re: The plan....
By: amrein on Wed, 27 August 2008 21:33
|
|
|
Re: The plan....
|
|
|
Re: The plan....
By: amrein on Thu, 28 August 2008 00:08
|
|
|
Re: The plan....
By: mirek on Thu, 28 August 2008 05:21
|
|
|
Re: The plan....
By: mirek on Thu, 28 August 2008 09:02
|
|
|
Re: The plan....
By: kov_serg on Thu, 28 August 2008 09:23
|
|
|
Re: The plan....
By: unodgs on Thu, 28 August 2008 09:56
|
|
|
Re: The plan....
By: zsolt on Thu, 28 August 2008 14:21
|
|
|
Re: The plan....
By: mirek on Thu, 28 August 2008 14:46
|
|
|
Re: The plan....
By: zsolt on Thu, 28 August 2008 15:54
|
|
|
Re: The plan....
By: mirek on Thu, 28 August 2008 17:14
|
|
|
Re: The plan....
By: amrein on Thu, 28 August 2008 11:16
|
|
|
Re: The plan....
By: mirek on Fri, 29 August 2008 20:12
|
|
|
Re: The plan....
By: mirek on Fri, 29 August 2008 20:19
|
|
|
Re: The plan....
By: amrein on Fri, 29 August 2008 22:06
|
|
|
Re: The plan....
By: mirek on Fri, 29 August 2008 22:38
|
|
|
Re: The plan....
By: mr_ped on Thu, 28 August 2008 12:51
|
|
|
Re: The plan....
By: mirek on Thu, 28 August 2008 15:31
|
|
|
Re: The plan....
By: mr_ped on Thu, 28 August 2008 17:11
|
|
|
Re: The plan....
By: amrein on Thu, 28 August 2008 19:15
|
|
|
Re: The plan....
By: captainc on Thu, 28 August 2008 20:07
|
|
|
Re: The plan....
By: mirek on Thu, 28 August 2008 21:34
|
|
|
Re: The plan....
By: mirek on Fri, 29 August 2008 13:49
|
|
|
Re: The plan....
By: unodgs on Fri, 29 August 2008 14:05
|
|
|
Re: The plan....
By: amrein on Fri, 29 August 2008 23:57
|
|
|
Re: The plan....
By: cocob on Sat, 30 August 2008 12:31
|
|
|
Re: The plan....
By: Oblivion on Mon, 06 October 2008 20:50
|
|
|
Re: The plan....
By: koldo on Tue, 07 October 2008 08:20
|
|
|
Re: The plan....
By: mirek on Tue, 07 October 2008 11:07
|
|
|
Re: The plan....
By: koldo on Tue, 07 October 2008 11:59
|
|
|
Re: The plan....
By: mirek on Tue, 07 October 2008 12:32
|
|
|
Re: The plan....
By: koldo on Tue, 07 October 2008 13:13
|
|
|
Re: The plan....
|
Goto Forum:
Current Time: Thu May 09 01:46:36 CEST 2024
Total time taken to generate the page: 0.03151 seconds
|