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 » Community » Newbie corner » Simple thread example
Simple thread example [message #29574] Mon, 01 November 2010 10:21 Go to previous message
nlneilson is currently offline  nlneilson
Messages: 644
Registered: January 2010
Location: U.S. California. Mojave &...
Contributor
I searched the Upp directory for "thread", nothing found unless I did something wrong. When I got back to an internet connection I searched the forum which found a considerable amount of posts. Some involved servers, OpenGL, etc..

All my app needs is to read a file line then Sleep(1000);
then repeat for all lines.

I am porting a java app (with an extra thread) that works OK in C++ except for the thread.

Without an extra thread this locks up the main thread.

A simple example of a thread with the C++ source and the upp file would be appreciated.

edit: MS Vista will be great to get away from.
Fired up my dependable XP and did a search for "thread" in the Upp directory and found 119. Vista found none.

[Updated on: Mon, 01 November 2010 11:44]

Report message to a moderator

 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Upp (Help) documentation
Next Topic: Few questions
Goto Forum:
  


Current Time: Wed May 08 11:41:29 CEST 2024

Total time taken to generate the page: 0.02498 seconds