Jump to content

Eleriader

Members
  • Content count

    1
  • Joined

  • Last visited

Community Reputation

0 Neutral

About Eleriader

  • Rank
    Newbrie
  • Birthday 05/13/1976

Contact Methods

  • AIM
    EleriaderTH
  • Yahoo
    135415
  • Jabber
    porralulote@yandex.ru
  • Skype
    EleriaderTH

Profile Information

  • Gender
    Female
  • Location
    144144
  • Interests
    EleriaderTH
  1. Binary Semaphores

    I was hoping if somebody could offer some design advice regarding the use case for binary semaphores. In a situation where you have a hardware interrupt eg. rx buffer full and you want to signal to another thread to parse the data packet, is there any advantage of using a binary semaphore instead of simply putting the parsing thread asleep and waking it up from the interrupt? Both seem to work without any noticeable differences but since I do this kind of thing so often I just wanted to make sure there wasnt a reason to use one technique over the other. Thanks
×