Re: [fpc-pascal] Use sleep in thread

2015-02-25 Thread hinstance
I mean T.Suspend, so u resume it then suspend it 25.02.2015, 18:16, "hinsta...@yandex.ru" : > not sure if this helps, but: > for example, if you want thread T to run using approx. 70% of max. available > capacity, try this: > > repeat >   T.Resume; >   Sleep(70); >   T.Resume; >   Sleep(30); > u

Re: [fpc-pascal] Use sleep in thread

2015-02-25 Thread hinstance
not sure if this helps, but: for example, if you want thread T to run using approx. 70% of max. available capacity, try this: repeat   T.Resume;   Sleep(70);   T.Resume;   Sleep(30); until ... so T runs for 70 ms, then sleeps for 30 ms, etc 25.02.2015, 18:06, "Xiangrong Fang" : > 2015-02-25 22:

Re: [fpc-pascal] Access fpc libraries with Java ?

2014-03-27 Thread hinstance
JNI is the way to go http://en.wikipedia.org/wiki/Java_Native_Interface JNI is a part of Java, so no other libraries are required to use it 27.03.2014, 19:11, "fredvs" : > Hello. > I try to access fpc libraries with Java. > I can access those libraries with: > => Python without problems, even call

Re: [fpc-pascal] Bug in enumerators 2.6.4

2014-03-22 Thread hinstance
What you do this for? Using override directive makes no sense in this case, so I suggest you just don't use it. If you don't use it, the descendant enumerator will still work like intended 22.03.2014, 20:21, "Torsten Bonde Christiansen" : > Hi List. > > I think i have found a bug related to enum