I have been reviewing the code for the smsbox routing and I have a couple of questions regarding the implementation:
1) There looks to be a possible race condition in this code. When the boxc_receiver thread receives a cmd_identify message it reassigns the boxc incoming list to a new list. In the mean time the boxc_sender thread may be calling list_consume on the boxc incoming list or may be blocked waiting for messages on that list. 2) If a box is unavailable for routing then should a message be put on the global incomin_sms list for another box to consume. This seems counterintuitive to the idea of smsbox routing. Should the message be stored until that box reconnects? comments appreciated. Regards, Michael Mulcahy ANAM Wireless Internet Solutions http://www.anam.com mailto:[EMAIL PROTECTED] +353 1 284 7555 Castle Yard, Saint Patrick's Road, Dalkey, County Dublin, Ireland
