Показать сообщение отдельно

  #9  
Старый 03.10.2009, 09:17
Uname-A
Познающий
Регистрация: 19.08.2008
Сообщений: 69
С нами: 9329667

Репутация: 31
По умолчанию

Цитата:
Сообщение от desTiny  
ну первый ворнинг гласит, что лучше было бы, если б описание перегруженного метода совпадало 1 в 1 с предком, то есть с точностью до названий параметров и регистра букв.

с Suspend не знаю. ни в 7ой, ни в 2009-ой делфе никаких "Deprecated" ворнингов не вижу.
Вот блин=) А я думаю почему ошибка на ровном месте=)

Ну насчёт Suspend в делфи 2010(Rad Studio 2010) нашол
PHP код:
About Suspend and ResumePOSIX does not support suspending/resuming a thread.
  
Suspending a thread is considerd dangerous since it is not guaranteed where the
  thread would be suspend
It might be holding a lockmutex or it might be inside
  a critical section
.  In order to simulate it in Linux we've used signals. To
  suspend, a thread SIGSTOP is sent and to resume, SIGCONT is sent. Note that this
  is Linux only i.e. according to POSIX if a thread receives SIGSTOP then the
  entire process is stopped. However Linux doesn'
t entirely exhibit the POSIX-mandated
  behaviour
. If and when it fully complies with the POSIX standard then suspend
  
and resume won't work. 
А вообще как остановить поток? без Suspend(+ потом Terminate) поток не останавливается...

ну вообще впринципе работа в никсах невожна..
просто хотелось бы избавиться от замечаний.
 
Ответить с цитированием