hbyint / lanterna

Automatically exported from code.google.com/p/lanterna
GNU Lesser General Public License v3.0
0 stars 0 forks source link

Multi Threading #121

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Hi Martin
In your Wiki from lanterna you named the tag Multithrading.
Well i tryed to get it work as thread but i coudlnt get it run .
How can i run a Text Gui in a seperat Thread ?
(Warning: I am a NOOB )

Original issue reported on code.google.com by handg...@gmail.com on 29 Dec 2014 at 4:05

GoogleCodeExporter commented 9 years ago
Hmm, could you point me to which part of the Wiki you are referring to? Also, 
are you using Lanterna 3 or 2?

Original comment by mab...@gmail.com on 11 Jan 2015 at 11:19

GoogleCodeExporter commented 9 years ago
FWIW,  I have had no problems in Lanterna 3 with multithreading.

I posted an example on GitHub if it helps (code is too big to paste here...)

https://gist.github.com/magno32/6810a33efd0d54359c9d

Original comment by magn...@gmail.com on 20 Jan 2015 at 3:48

GoogleCodeExporter commented 9 years ago
Yes, Lanterna 3 should be thread-safe unless clearly stated otherwise (unlike 
Lanterna 2 which is the other way around...)

Original comment by mab...@gmail.com on 1 Feb 2015 at 11:57