SYSC-3303-08-DynamicConcurrency

SYSC-3303-08-DynamicConcurrency - SYSC 3303 RealTime...

Info iconThis preview shows pages 1–5. Sign up to view the full content.

View Full Document Right Arrow Icon
SYSC 3303 Real Time Programming Dynamic Concurrency Concurrent Architectures
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
readed Servers NB. Abbreviated SD Exercise: Draw complete SD or collaboration diagram Threaded Servers See echo j threaded.zip :EchoServer :ServerSocket accept() cket t1:EchoThread <<new>>(socket) start() socket ccept() :EchoThread socket read() accept() write() read() <<new>>(socket) t2:EchoThread write() start() read() rite() read() rite() accept() 2/4/2009 SYSC 3303 Winter 2009 C. Schramm 2 write() write()
Background image of page 2
re hreading Pre Threading Initialization :EchoServer :ServerSocket <<new>> :BoundedBuffer <<new>> t1:EchoThread :EchoThread <<new>> start() <<new>>) t2:EchoThread start() get() get() 2/4/2009 SYSC 3303 Winter 2009 C. Schramm 3
Background image of page 3

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
re hreading Listening Pre Threading :EchoServer :ServerSocket t1:EchoThread t2:EchoThread :BoundedB uffer accept() get() put(socket) notify() socket accept() socket read() rite() socket write() close() put(socket) notify() socket get() 2/4/2009 SYSC 3303 Winter 2009 C. Schramm 4 read() write()
Background image of page 4
Image of page 5
This is the end of the preview. Sign up to access the rest of the document.

This note was uploaded on 07/16/2009 for the course SYSC 3303 taught by Professor Shramp during the Spring '09 term at Carleton CA.

Page1 / 11

SYSC-3303-08-DynamicConcurrency - SYSC 3303 RealTime...

This preview shows document pages 1 - 5. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online