Solved

Can output of a pipe be read in "realtime"?

Posted on 2004-10-18
4
186 Views
Last Modified: 2010-04-21
I have an app (using C/Motif on Unix) where I need to run a routine which can take minutes of processing time.  The problem of course is that the X events get blocked while this routine is running.  Can I use XtAppProcessEvent, called periodically during the long routine, to keep the GUI alive?  Will this save me from having to do a fork?
0
Comment
Question by:jimdgar
4 Comments
 
LVL 51

Expert Comment

by:ahoffmann
ID: 12388951
your routine should send an event to tell the GUI (X) that it finished, or whatever.
By the way, your title uses "realtime": how you're aware that X is far away from "relatime"
0
 

Author Comment

by:jimdgar
ID: 12488334
ahoffman,

Can you elaborate on "send an event"?  I've since resolved this question myself, and I don't believe your vague answer warrants the points.
0
 

Accepted Solution

by:
modulo earned 0 total points
ID: 12689612
PAQed with points refunded (100)

modulo
Community Support Moderator
0

Featured Post

DevOps Toolchain Recommendations

Read this Gartner Research Note and discover how your IT organization can automate and optimize DevOps processes using a toolchain architecture.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Attention: This article will no longer be maintained. If you have any questions, please feel free to mail me. jgh@FreeBSD.org Please see http://www.freebsd.org/doc/en_US.ISO8859-1/articles/freebsd-update-server/ for the updated article. It is avail…
I promised to write further about my project, and here I am.  First, I needed to setup the Primary Server.  You can read how in this article: Setup FreeBSD Server with full HDD encryption (http://www.experts-exchange.com/OS/Unix/BSD/FreeBSD/A_3660-S…
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
In a previous video, we went over how to export a DynamoDB table into Amazon S3.  In this video, we show how to load the export from S3 into a DynamoDB table.

777 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question