|
SageTV Studio Discussion related to the SageTV Studio application produced by SageTV. Questions, issues, problems, suggestions, etc. relating to the Studio software application should be posted here. |
|
Thread Tools | Search this Thread | Display Modes |
#1
|
||||
|
||||
Fork(), Wait(10), Refresh()
Gents,
In the default STV I see many times when the screen needs refreshing that instead of just calling Refresh(), the STV Forks a thread and then does the Refresh() in the forked thread. Why? Thanks, Tom
__________________
Sage Server: 8th gen Intel based system w/32GB RAM running Ubuntu Linux, HDHomeRun Prime with cable card for recording. Runs headless. Accessed via RD when necessary. Four HD-300 Extenders. |
#2
|
|||
|
|||
There is a sticky at the top of studio forum on this one. In version 6.0 there was a problem where you had to call fork() before a refresh in certain areas. It is fixed in later versions and I believe they are probably left over from that if I where guessing...
|
#3
|
||||
|
||||
No, it has nothing to do with that sticky, which was only referring to certain Hooks.
A Fork() followed by a short Wait() is used to allow other code to continue before doing a refresh, closing a 2nd options menu, and so on. For example: it allows CloseOptionsMenu() to close the current dialog before closing the next one after the fork/wait so that they close in sequence instead of appearing to close at the same time. I didn't do a search for all those fork/wait combos just now, but I didn't think there were many that did nothing but a refresh after the wait. - Andy
__________________
SageTV Open Source v9 is available. - Read the SageTV FAQ. Older PDF User's Guides mostly still apply: SageTV V7.0 & SageTV Studio v7.1. - Hauppauge remote help: 1) Basics/Extending it 2) Replace it 3) Use it w/o needing focus - HD Extenders: A) FAQs B) URC MX-700 remote setup Note: This is a users' forum; see the Rules. For official tech support fill out a Support Request. |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Killing Fork() | toricred | SageTV Studio | 9 | 07-26-2009 07:50 PM |
wait for no input? | PLUCKYHD | SageTV Studio | 8 | 05-12-2009 05:40 AM |
Loading Preview. Please wait, and wait and wait... | dshields | Hardware Support | 7 | 05-10-2006 09:55 PM |
30 Second wait between searches | dbfresh23 | General Discussion | 8 | 04-18-2006 11:38 AM |
Fork() | Bohica | SageTV Studio | 3 | 03-25-2006 01:05 PM |