Re: [PyOpenGL-Users] IDLE, threads and pyopengl
Brought to you by:
mcfletch
From: JoN <jo...@we...> - 2007-03-13 01:12:42
|
And then he realizes he's asked the completely wrong question. What I meant to ask was: Can IDLE - or any python command interpreter for that matter? - be run itself as a pythread ? I have a threaded environment. It would be really nice if I could pretend to be just another thread and do my locking and unlocking etc as that thread, in the course of development. (Of course not all modules in python are pythread-safe, but I've factored that in as the threaded environment I'm using makes almost no standard module calls, and the rest I can deal with case-by-case). Jon Quoting JoN <jo...@we...>: > > Under Linux. > > Ok this is really strictly a python question, but its in an opengl context > (sic), so I thought I'd start here. I'll find some python lists to ask as > well. > > I have an environment under design that drives pyopengl but there is a lot > of > threaded stuff going on using python threads. Part of it is a 3d editor > (yes > yes I know there are good ones already, its just the data model this one uses > is > for solid rendering and i need some custom code). > > Now ideally whilst building the editor I'd be able to run IDLE in one X > window > and have the GL output in another X window (albeit via MESA, but thats good > enough for debugging). > > Question is, can I safely launch threads from inside IDLE? > > That's it, that's my Q! > > Jon > > > > > > > -------------------------------------------------------------------- > Come and visit Web Prophets Website at http://www.webprophets.net.au > > > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share your > opinions on IT & business topics through brief surveys-and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > _______________________________________________ > PyOpenGL Homepage > http://pyopengl.sourceforge.net > _______________________________________________ > PyOpenGL-Users mailing list > PyO...@li... > https://lists.sourceforge.net/lists/listinfo/pyopengl-users > -------------------------------------------------------------------- Come and visit Web Prophets Website at http://www.webprophets.net.au |