Главная страница
    Top.Mail.Ru    Яндекс.Метрика
Форум: "Основная";
Текущий архив: 2002.10.21;
Скачать: [xml.tar.bz2];

Вниз

Вопрос про Симафор   Найти похожие ветки 

 
Демонов Е.В.   (2002-10-09 14:49) [0]

А какие есть фанкции для того чтобы узнать значение сщетчика ?


 
Николай Быков   (2002-10-09 14:52) [1]

Ну ты хотбы расскажы чё это за симафор такой и какие у него счетчики


 
Демонов Е.В.   (2002-10-09 15:00) [2]

>>Николай Быков
Я может и не правельно выразился - но мысль понятна.


 
Best Before 2024   (2002-10-09 15:03) [3]

Из Help"a :
A thread uses the CreateSemaphore function to create a semaphore object. The creating thread specifies the initial count and the maximum value of the count for the object. The initial count must be neither less than zero nor greater than the maximum value. The creating thread can also specify a name for the semaphore object. Threads in other processes can open a handle of an existing semaphore object by specifying its name in a call to the OpenSemaphore function. For additional information about names for mutex, event, semaphore, and timer objects, see Interprocess Synchronization.


 
Николай Быков   (2002-10-09 15:04) [4]

НЕТ. НЕ ПОНЯТНА ТВОЯ МЫСЛЬ.

Объясни что тебе нужно. Я не могу понять что такое "симафор".


 
Демонов Е.В.   (2002-10-09 15:08) [5]

>>Я не могу понять что такое "симафор"
Ну это уже другой разговор


 
Alx2   (2002-10-09 15:15) [6]

>Демонов Е.В. © (09.10.02 15:08
BOOL ReleaseSemaphore(

HANDLE hSemaphore, // handle of the semaphore object
LONG lReleaseCount, // amount to add to current count
LPLONG lpPreviousCount // address of previous count
);

Только плохо, что Release :)


 
Николай Быков   (2002-10-09 15:15) [7]

Не могу понять всмысле в твоем запросе что это слово означает.


 
Romkin   (2002-10-09 15:26) [8]

Все правильно, единнственный способ узнать значение счетчика семафора - освободить его, потом можно сразу снова занять



Страницы: 1 вся ветка

Форум: "Основная";
Текущий архив: 2002.10.21;
Скачать: [xml.tar.bz2];

Наверх





Память: 0.45 MB
Время: 0.008 c
1-68739
zam2000
2002-10-11 10:20
2002.10.21
Кто работал с Clipboard через API? Как туда положить CF_OEMTEXT


14-68914
iNew
2002-09-26 21:34
2002.10.21
Помогите новичку


1-68850
ND
2002-10-10 07:38
2002.10.21
Событие и окно ...


1-68771
Sergey-ZZZ
2002-10-11 15:53
2002.10.21
Логин


1-68778
123000
2002-10-11 19:20
2002.10.21
Richedit





Afrikaans Albanian Arabic Armenian Azerbaijani Basque Belarusian Bulgarian Catalan Chinese (Simplified) Chinese (Traditional) Croatian Czech Danish Dutch English Estonian Filipino Finnish French
Galician Georgian German Greek Haitian Creole Hebrew Hindi Hungarian Icelandic Indonesian Irish Italian Japanese Korean Latvian Lithuanian Macedonian Malay Maltese Norwegian
Persian Polish Portuguese Romanian Russian Serbian Slovak Slovenian Spanish Swahili Swedish Thai Turkish Ukrainian Urdu Vietnamese Welsh Yiddish Bengali Bosnian
Cebuano Esperanto Gujarati Hausa Hmong Igbo Javanese Kannada Khmer Lao Latin Maori Marathi Mongolian Nepali Punjabi Somali Tamil Telugu Yoruba
Zulu
Английский Французский Немецкий Итальянский Португальский Русский Испанский