Welcome to MacBoardz.com!
FAQFAQ    SearchSearch      ProfileProfile    Private MessagesPrivate Messages   Log inLog in

Waiting time during process

 
   Macintosh computer (Home) -> Programmer Code RSS
Next:  Modification dates change when moving/copying bet..  
Author Message
Hans Stoessel

External


Since: Aug 14, 2003
Posts: 57



(Msg. 1) Posted: Fri Jul 28, 2006 2:55 am
Post subject: Waiting time during process
Archived from groups: comp>sys>mac>programmer>codewarrior (more info?)

Hi

I use Codewarrior 8.3 for the programming XTension for Quark.

Now I have the following problem. I have to save a document as a PDF and
during the saving I have to wait in a loop until the PDF is finished. I
can't do that
in a while-loop because the PDF generation doesn't work in this case. I have
to give up processor time in the loop.
- How can I do that?
- The sleep-method is not available in Mac. Any other methods (time
functions)?
- Is there another possibility to give up processor time? If possible
without threads....
- Maybe I can release the event queue. How?

Thanks a lot for any help

Regards
Hans

 >> Stay informed about: Waiting time during process 
Back to top
Login to vote
Display posts from previous:   
Related Topics:
Does anyone how to spawn a process on MAC? - I need to know the C/C++ code for spawning a process like in windows _spawn() And i know about fork and exec but isit only applicable to MAC OS X? I am new to both mac and c/c++ thus many stuff i am unknown of. Anyone know anything? Any suggestion or....

CW 8.3 changing process limits when debugging. - I have a program that I am debugging that needs to open large numbers of files. Using getrlimits it look like the max when running in the debugger is 2048 files. Is there a way to change the Codewarrior defaults? The behavior of the program is..

Logout process for background-only apps - Hello everybody, I'm confused about Apple documentation. My application is background-only and links against Carbon framework. It's launched at user login for a daemon (both run as root). When I logout, at Console the system reports me this warning: ..

Execute task each time - I have a Perl script I want to excecute every time I build a target in my CW 8.1 project. Perl Tool is configured to run for .pl files, and if I edit or touch the file it does indeed run. However, unless I explicitly touch it, it only runs once. I had..

division by 0 error at compile time? - Warning : division by 0 HelloWorld.cp line 36 } I probably should file a bug report but want to ask here first to make sure it's not me. I just upgraded to 9.3 and run into this error when compiling with global optimization level 4: Warning :..
   Macintosh computer (Home) -> Programmer Code All times are: Pacific Time (US & Canada)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You can edit your posts in this forum
You can delete your posts in this forum
You can vote in polls in this forum



[ Contact us | Terms of Service/Privacy Policy ]