Skip to content

Blocking interface rule

20080528 (2008 May 28 Wednesday)

Sometime a client wishes to block/wait on/for a service. Sometimes a client wishes to use many services at the same time. Some systems encourage threads as a work around but, threads are difficult, interthread communication is difficult.

Therefore: For all interfaces in a system that block, allow non exclusive blocking. i.e. A client can block on all interfaces at the same time, with a single command. e.g. wait_on([a,b,c,d])

You can use threads at io boundaries to help implement this.

Advertisements
No comments yet

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: