Multithreading

0 views
Skip to first unread message

zhiwen hu

unread,
Jul 15, 2008, 9:37:21 AM7/15/08
to tige...@googlegroups.com, huzhi...@gmail.com

GUI applications often use multiple threads: one thread to keep the user interface responsive,
and one or many other threads to perform time-consuming activities such as reading
large les and performing complex calculations. Qt can be con gured to support multithreading,
and provides classes to represent threads, mutexes, semaphores, thread-global
storage, and classes that support various locking mechanisms. Many of Qt's classes are
reentrant, and a number of functions provided are thread-safe.
Qt 4's meta-object system enables objects in different threads to communicate using signals
and slots, making it possible for developers to create single-threaded applications that can
later be adapted for multithreading without an extensive redesign. Additionally, components
can communicate across thread boundaries by posting events to one another. Certain
types of object can also be moved between threads.
--
胡志文
QQ :54219308
Mobile :13510180486
Reply all
Reply to author
Forward
0 new messages