| jthreads / c ++ jthreads / c ++´Â C ++ ¿ë ½º·¹µå¿Í °°Àº ÀÚ¹ÙÀÔ´Ï´Ù. |
Áö±Ý ´Ù¿î·Îµå |
jthreads / c ++ ¼øÀ§ ¹× ¿ä¾à
- °Ô½ÃÀÚ À̸§:
- Object Oriented Concepts, Inc.
- °Ô½ÃÀÚ À¥»çÀÌÆ®:
- http://www.iona.com/devcenter/orbacus/jtc.htm
jthreads / c ++ ű×
jthreads / c ++ ¼³¸í
jthreads / c ++´Â C ++ ¿ë ½º·¹µå¿Í °°Àº ÀÚ¹ÙÀÔ´Ï´Ù. jthreads / c ++´Â C ++ ¿ë ½º·¹µå¿Í °°Àº ÀÚ¹ÙÀÔ´Ï´Ù. °íÀ¯ÇÏ°í ¸Å¿ì À¯¿ëÇÑ Á¦Ç°, JThreads / C ++´Â Java ¢â¿¡¼ ¹ß°ß µÈ ½º·¹µå Ŭ·¡½º ¹× ÇÁ¸®¹ÌƼºê¸¦ ¸ð¹æÇÏ´Â ÈÞ´ë¿ë ½º·¹µå Ãß»óÈ ¶óÀ̺귯¸®ÀÔ´Ï´Ù. Windows 95, NT ¹× UNIXÀÇ ¸¹Àº ¸ÀÀ» Áö¿øÇÏ´Â JThreads / C ++´Â Àß ¼³°èµÇ°í »ç¿ëÇϱ⠽¬¿î Ŭ·¡½º ¶óÀ̺귯¸® ¾È¿¡ ¸ðµç Ç÷§Æû º° ÇÔ¼ö È£ÃâÀ» ĸ½¶ÈÇÏ¿© ¸ÖƼ ½º·¹µå ÀÀ¿ë ÇÁ·Î±×·¥ÀÇ °³¹ßÀ» ´Ü¼øÈÇÕ´Ï´Ù. ¾î¶»°Ô ÀÛµ¿Çմϱî? ¸ÖƼ ½º·¹µå ÇÁ·Î±×·¡¹Ö¿¡ ´ëÇÑ JavaÀÇ Áö¿øÀº ´ÙÀ½ ±¸¹®¿¡¼ Á¦°øµË´Ï´Ù. java.lang.Thread ¹× java.lang.ThreadGroup ÀÎÅÍÆäÀ̽º java.lang.Runnable µ¿±âÈ µÈ Å°¿öµå´Â java.lang.Object¿¡¼ ¸Þ¼µå ´ë±â, ¾Ë¸² ¹× NotifyAll Java Ŭ·¡½º java.lang.Thread ¹× java.lang.ThreadGroupÀº C ++ Ŭ·¡½º ¹× jtcthreadgroupÀ¸·Î Á÷Á¢ ¹ø¿ªµË´Ï´Ù. À¯ÀÏÇÑ Â÷ÀÌÁ¡Àº JTHREADS / C ++ Ŭ·¡½º°¡ JTC°¡ JAVE ÆÐÅ°Áö java.lang ´ë½Å Á¢µÎ»ç·Î Á¦°øµÈ´Ù´Â °ÍÀÔ´Ï´Ù. Java ÀÎÅÍÆäÀ̽º java.lang.RunnableÀº C ++¿¡ »õ·Î¿î Å°¿öµå¸¦ Ãß°¡ ÇÒ ¼ö ¾øÀ¸¹Ç·Î ¼ø¼öÇÑ °¡»ó ¸Þ¼Òµå run.support°¡ ¾à°£ ´õ ¾î·Á¿öÁö±â ¶§¹®¿¡ java.lang.runnableÀº Ãß»óÀû ÀÎ C ++ Ŭ·¡½º JTCrunnable·Î ±¸ÇöµË´Ï´Ù. JThreads / C ++´Â µÎ °³ÀÇ Ãß°¡ Ŭ·¡½º, JTCMonitor ¹× JTCsynchronized¸¦ »ç¿ë ÇÏ¿©ÀÌ ¹®Á¦¸¦ ÇØ°áÇÏ°í ÇÔ²² µ¿±âÈ µÈ Å°¿öµåÀÇ ´ëü¸¦ Çü¼ºÇÕ´Ï´Ù. JTCMonitor´Â ¶ÇÇÑ ±â´Ù¸², ¾Ë¸² ¹× NotifyAllÀ» Á¦°øÇÕ´Ï´Ù.
jthreads / c ++ °ü·Ã ¼ÒÇÁÆ®¿þ¾î