pthread로 우선순위 상한(Priority Ceiling Protocol) 어떻게 할까요?
글쓴이: jeongheumjo / 작성시간: 목, 2009/08/13 - 6:54오후
VxWorks나 QNX 에서는 pthread 함수중에서
pthread_mutexattr_setprotocol()
pthread_mutex_getprioceiling()
pthread_mutex_setprioceiling()
pthread_mutexattr_getprioceiling()
pthread_mutexattr_setprioceiling()
pthread_mutex_timedlock()
위와 같은 함수들을 지원합니다. 다른 리눅스나 유닉스에서도 아마 POSIX 이니 지원할 것 같습니다.
그런데 저 함수들을 사용한 예제코드를 보기가 어렵습니다. 저 함수들은 분명 priority ceiling 을 구현할 수 있는 함수들인데 말이죠...
priority ceiling 을 어떻게 구현할 수 있는지 위 함수들의 사용 예제 소스같은 것을 구할 수 있을까요?
예제 소스가 없으면 개념적인 설명만 해주셔도 감사드리겠습니다. 꾸벅^^
Forums:
댓글 달기