[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[ns] [Fwd: Help needed]



 
-- 
********************************
*  Emmanuel A Jammeh           *
*  Postgrad Research  Student  *
*  University of Essex         *
*  Colchester CO4 3SQ          *
*  England                     *
*                              *
*  Tel:   00 44 1206 53 7101   *
*  email: [email protected]   *
*         [email protected]   *
********************************
 


Hello,

I was browsing the net for information and came accross your page. Well i am first year PhD student at the
university of essex doing reasearch in video networking. I have a problem with event scheduling preferably within threads.

Below is aschematic  of what i want to do.
 

|   |   |   |   |   |   |   |                 |   |   |   |   |   |   |   |                       |   |   |   |   |   |   |   |
|   Encoder       |  ----->|  ROUTER     |-------->| DECODER   |
|   |   |   |   |   |   |   |                 |   |   |   |   |   |   |   |                       |   |   |   |   |   |   |   |

THe encoder is an mpeg1 transcoder which generates packets which are
then enqueued at the router (a buffer of packets). Packets are then
supposed to dequeued from the router at a constant rate regardless
of the queue rate. That is my problem.
How to generate the dequeue event using fast timers using. I tried using
threads with "sleep" but that does not work.
Any ideas will be appreciated. Thank you.
Emmanuel
-- 
********************************
*  Emmanuel A Jammeh           *
*  Postgrad Research  Student  *
*  University of Essex         *
*  Colchester CO4 3SQ          *
*  England                     *
*                              *
*  Tel:   00 44 1206 53 7101   *
*  email: [email protected]   *
*         [email protected]   *
********************************