From: Morgan Date: 2005-09-08T12:33:07+09:00 Subject: Re: [SOLUTION] MUD Client (#45) James Edward Gray II wrote: >A very basic quick solution I thew together. And another question. You use a Queue in this. Do you actually need to do that? From my understanding (and a little testing), if you have one thread pushing items onto an array, and another thread using shift to pull them off (and ONLY one thread doing each), you'll still get all your data in proper order without having Thread.critical calls slowing down your application. Since I'm not sure how expensive all the *other* stuff my client will be doing will be, this is important to me. (That, and it's sort of an esthetic issue with me - if I can get away with not using Thread.critical, that's what I want to do.) -Morgan -- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.344 / Virus Database: 267.10.18/91 - Release Date: 09/06/2005