Re: threads in python

2020-08-28 Thread AudioGames . net Forum — Developers room : cartertemm via Audiogames-reflector
Re: threads in python As far as I can tell this isn't so much an issue with the library as it is an issue with your code and knowledge of the way threading works.In the slim chance that someone is searching around and has the same question, I explained more in the issue he created. URL

Re: threads in python

2020-08-28 Thread AudioGames . net Forum — Developers room : cartertemm via Audiogames-reflector
Re: threads in python This isn't an issue with threads URL: https://forum.audiogames.net/post/565309/#p565309 -- Audiogames-reflector mailing list Audiogames-reflector@sabahattin-gucukoglu.com https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector

Re: threads in python

2020-08-26 Thread AudioGames . net Forum — Developers room : Ethin via Audiogames-reflector
Re: threads in python @5, ah, I stand corrected then. URL: https://forum.audiogames.net/post/564839/#p564839 -- Audiogames-reflector mailing list Audiogames-reflector@sabahattin-gucukoglu.com https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector

Re: threads in python

2020-08-26 Thread AudioGames . net Forum — Developers room : camlorn via Audiogames-reflector
Re: threads in python @2that's incorrect. For what they're trying to do, threading will work.  The non-newbie answer to this is that there's a mutex plus a timeout around the bytecode interpreter loop, but this means that anything doing I/O and anything doing calls into C won't block

Re: threads in python

2020-08-26 Thread AudioGames . net Forum — Developers room : ivan_soto via Audiogames-reflector
Re: threads in python You should use callbacks for the tt api that Carter wrote URL: https://forum.audiogames.net/post/564776/#p564776 -- Audiogames-reflector mailing list Audiogames-reflector@sabahattin-gucukoglu.com https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo

Re: threads in python

2020-08-26 Thread AudioGames . net Forum — Developers room : pauliyobo via Audiogames-reflector
Re: threads in python I wonder if using something like asyncio in your case would help, since what you're after is simply the function not blocking as far as I understand. URL: https://forum.audiogames.net/post/564773/#p564773 -- Audiogames-reflector mailing list Audiogames-reflector

Re: threads in python

2020-08-26 Thread AudioGames . net Forum — Developers room : Ethin via Audiogames-reflector
Re: threads in python To my knowledge, threading in Python just doesn't work without cythonizing your code first. You can thank the GIL for that -- there's no way to get maximum performance out of Python without dropping into C or being really clever. URL: https://forum.audiogames.net

threads in python

2020-08-26 Thread AudioGames . net Forum — Developers room : Simter via Audiogames-reflector
threads in python Hi.I have created a multi porpose bot with carters team talk api. But i have 1 mayor problem. When i call bot.handle_messages() every thing i write afterwards doesn't execute. This seams to be because the methot blocks the rest of the code from executing. I have already

Re: need help with using speech in threads in python

2020-03-09 Thread AudioGames . net Forum — Developers room : camlorn via Audiogames-reflector
Re: need help with using speech in threads in python Yeah. If it's I/O the GIL isn't out to murder you, and in general interacting with WX needs exactly this kind of thing anyway, so go for it. Had assumed that faster meant compute, because it usually does.That said I did think

Re: need help with using speech in threads in python

2020-03-09 Thread AudioGames . net Forum — Developers room : jfayre via Audiogames-reflector
Re: need help with using speech in threads in python Thanks so much! I actually did fix this by using a queue to pass speech messages to the main thread.As far as performance, I'm mainly using threads to avoid blocking the WX UI that I'm using. There is a series of functions that poll

Re: need help with using speech in threads in python

2020-03-08 Thread AudioGames . net Forum — Developers room : camlorn via Audiogames-reflector
Re: need help with using speech in threads in python My guess is that the issue is that you aren't inside a COM apartment, which is hard to fix. You may be able to use speech from only one thread and get it to initialize a COM apartment over there, or it might be an issue in comtypes

need help with using speech in threads in python

2020-03-08 Thread AudioGames . net Forum — Developers room : jfayre via Audiogames-reflector
need help with using speech in threads in python Hi,In the Talking Flight Monitor software I'm writing, I want to be able to use threads to speed up the system.Unfortunately, it looks like the accessible_output_2 module doesn't support threading. Whenever I try to output anything using