Posts

Showing posts from March, 2012

San In Japaneese as per wiki....

The English titles of "Mr", "Mrs", "Miss", "Ms" are all irrelevant as all people are referred to by the suffix -san ( さん ? ) . The more polite -sama ( 様 ? ) suffix is used only in certain contexts with people who are superior in social standing to you, and is also gender-neutral in usage. The most polite suffix -dono ( 殿 ? ) usually, but not always, refers to males, and is rarely used in modern speech. Both -sama ( 様 ? ) and -dono ( 殿 ? ) should be used with caution, and only with more than basic understanding of Japanese social structures.

Asynchronus I/O (AIO) in vxworks and Linux

In generic Asynchronus I/O (AIO) can be designed using User lavel or in Kernel level. In user level 1) Process needs async callback/notification create another thread and process which goes to sleep on blocking calls (read/write/ioctls/select) 2) One Async master handler (process/thread) keeps track.All the process needs the service submit job to them.The master handler handles the async fd in Blocking mode and reply to requesting processes (or call the callback function) using some async notificatin like signal. In Kernel Level 1) Call some system call and submit some job to kernel workQ .After work is complete kernel notify using signal to user space.   In VxWorks :  aioPxLib provide the POSIX 1003.1b standard.Which is task implementation of aio service. functions available: 1) aio_read() - initiate an asyn. read. 2) aio_write() - initiate an syn write 3) aio_listio() - Initiate a aio list upto LIO_MAX 4) aio_error() - Get an aio error status. 5) aio_return() - Get a