As the semaphore acquisition is done "benaphore style", the semaphore should be created with an initial count of 0.

git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11611 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Stefano Ceccherini 2005-03-07 11:04:46 +00:00
parent 20c7c2f958
commit e949e4cf18
1 changed files with 1 additions and 1 deletions

View File

@ -616,7 +616,7 @@ load_menu_settings(menu_info &into)
extern "C" status_t
_init_interface_kit_()
{
sem_id widthSem = create_sem(1, "TextView WidthBuffer Sem");
sem_id widthSem = create_sem(0, "BTextView WidthBuffer Sem");
if (widthSem < 0)
return widthSem;
BTextView::sWidthSem = widthSem;