On 8 Aug 2000, Jiang Wu wrote:
> OK. Back to the notifier patch. I am not sure if you got my last email on this
>subject last night. My mail server wasn't working properly.
>
> When I run your example using:
>
> java::call AppendEventQueueThread queueVwaitEvent [java::getinterp]
> update
>
> I get:
>
> numQueued = 9
> numProcessed = 9
>
> This is the desired result because the thread sleeps 1 second, then posts an event,
>then repeats. The vwait event waits for 10 seconds. So the thread can post a
>maximum of 9 events during this 10 seconds.
>
> Is this what you get also?
Nope, I am only seeing 1 event getting processed in that 10 second
delay.
P.S.
I am goign to write up a better test using the test command
and a max number of queues in the second thread.
Mo DeJong
Red Hat Inc
----------------------------------------------------------------
The TclJava mailing list is sponsored by Scriptics Corporation.
To subscribe: send mail to [EMAIL PROTECTED]
with the word SUBSCRIBE as the subject.
To unsubscribe: send mail to [EMAIL PROTECTED]
with the word UNSUBSCRIBE as the subject.
To send to the list, send email to '[EMAIL PROTECTED]'.
An archive is available at http://www.mail-archive.com/tcljava@scriptics.com