bugThe Circle - Bugs: bug #3551, Functions that can only run in the...

 
 

bug #3551: Functions that can only run in the main thread should assert this.

Submitted by:  Paul Harrison <pfh>
Submitted on:  Mon 12 May 2003 03:02:28 AM UTC  
 
Category: InternalSeverity: 1 - Nitpick
Item Group: Feature requestStatus: Fixed
Privacy: PublicAssigned to: None
Open/Closed: Closed

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Tue 17 Jun 2003 04:23:28 PM UTC, comment #1:

ok I added the checking for field.show, chat.show and its variants (show_before, show_after), and the methods assert_visible and assert_invisible of file_manager and music_manager.

I think that is all we need...

ThomasV <thomasV>
Project Administrator
Mon 12 May 2003 03:02:28 AM UTC, original submission:

Functions that run in the main thread should check that they are running in the main thread, since breaking this causes intermittent faults, notably XLib "async reply" errors.

I've gotten an async reply error on a couple of occassions, but can't replicate the problem. So there's probably some piece of code somewhere that breaks this, but it is almost impossible to determine exactly where.

Which functions are mainthread-only is poorly documented in the code, checking would also serve to document this.

The check would probably take the form of "check.check_is_mainthread()" at the start of relevant functions and event handlers.

Paul Harrison <pfh>
Project Administrator

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach File(s):
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

CC list is empty

 

Do you think this task is very important?
If so, you can click here to add your encouragement to it.
This task has 0 encouragements so far.

Only logged-in users can vote.

 

Please enter the title of George Orwell's famous dystopian book (it's a date):

 

 

Follow 2 latest changes.

Date Changed By Updated Field Previous Value => Replaced By
Tue 17 Jun 2003 04:23:28 PM UTCthomasVStatusNone=>(Error - Not Found)
  Open/ClosedOpen=>(Error - Not Found)

Back to the top


Powered by Savane 3.1-cleanup1