Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » U++ Library support » U++ Core » CoWork and shared memory
Re: CoWork and shared memory [message #35528 is a reply to message #35512] Sat, 25 February 2012 20:05 Go to previous messageGo to previous message
peek is currently offline  peek
Messages: 13
Registered: March 2010
Promising Member
Hello Mirek

So this way have Cowork processes to end fast because they work in any way in the same thread that main program?

I mean, to do:
App::~App() {
	finish = true;
	...

// and in Cowork function
if (finish)
	return;

is useless as destructor is not accessible until Cowork variable is destructed and that is is done when all Cowork calls have ended.

A question: If the Cowork jobs lasts time a solution could be to run Cowork in a separate thread?

Peek
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Point implicit conversions
Next Topic: put32 for double precision values..
Goto Forum:
  


Current Time: Sun May 12 17:47:27 CEST 2024

Total time taken to generate the page: 0.02280 seconds