Solved

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

Posted on 2004-10-18
4
189 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

On Demand Webinar - Networking for the Cloud Era

This webinar discusses:
-Common barriers companies experience when moving to the cloud
-How SD-WAN changes the way we look at networks
-Best practices customers should employ moving forward with cloud migration
-What happens behind the scenes of SteelConnect’s one-click button

Question has a verified solution.

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

In tuning file systems on the Solaris Operating System, changing some parameters of a file system usually destroys the data on it. For instance, changing the cache segment block size in the volume of a T3 requires that you delete the existing volu…
Installing FreeBSD… FreeBSD is a darling of an operating system. The stability and usability make it a clear choice for servers and desktops (for the cunning). Savvy?  The Ports collection makes available every popular FOSS application and packag…
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
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.
Suggested Courses

752 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