Ò׽ؽØÍ¼Èí¼þ¡¢µ¥Îļþ¡¢Ãâ°²×°¡¢´¿ÂÌÉ«¡¢½ö160KB

LinuxÏÂC++ÀàµÄÏ̺߳¯Êý

×î½üÔÚÓÃC++±àдһ¸öRTSPµÄ¿Í»§¶Ë£¬ÓÉÓÚÒªÓõ½Ị̈߳¬¸ù¾ÝC±à³ÌµÄ¾­Ñ飬дÁËÈçÏ´úÂ룺
class LiRtspSession
{
    public:
       void* MainThreadFunc(void* pvData);
       void* AudioProcThreadFunc(void* pvData);
       void Connect();
       //Ê¡ÂԵĴúÂë
    private:
        pthread_t     m_hProcHandle, m_hAudioProcHandle;
        //Ê¡ÂԵĴúÂë
};
void LiRtspSession::Connect()
{
    //create main thread creating rtsp session and receiving rtp/rtcp packet
    int ret = pthread_create(&m_hProcHandle, NULL, MainThreadFunc, this);
    if(ret != 0)
    {
         return;
    }
    //create a thread receiving audio data
    if(m_bAudioEnabled && m_eProtoType == ptUDP);
    {
         ret = pthread_create(&m_hAudioProcHandle, NULL, AudioProcThreadFunc, this);
         if(ret != 0)
         {
             return;
         }
    }
    pthread_join(m_hProcHandle, NULL);
 
    if(m_bAudioEnabled && m_eProtoType == ptUDP);
    {
          pthread_join(m_hAudioProcHandle, NULL);
    }
}
µ«ÊÇÔÚ±àÒëʱȴ³öÏÖÈçÏ´íÎó£º
    LiRtspSession.cpp: In member function ‘void LiRtspSession::Connect()’:
    LiRtspSession.cpp:176: error: argume


Ïà¹ØÎĵµ£º

ʵսLinux Bluetooth±à³Ì£¨Èý£© HCI²ã±à³Ì

1. HCI²ãЭÒé¸ÅÊö£º
HCIÌṩһÌ×ͳһµÄ·½·¨À´·ÃÎÊBluetoothµ×²ã¡£ÈçͼËùʾ£º
´ÓͼÉÏ¿ÉÒÔ¿´³ö£¬Host Controller Interface(HCI)  ¾ÍÊÇÓÃÀ´¹µÍ¨HostºÍModule¡£Hostͨ³£¾ÍÊÇPC£¬ ModuleÔòÊÇÒÔ¸÷ÖÖÎïÀíÁ¬½ÓÐÎʽ£¨USB,serial,pc-cardµÈ£©Á¬½Óµ½PCÉϵÄbluetooth Dongle¡£
ÔÚHostÕâÒ»¶Ë£ºapplication,SDP,L2capµÈЭÒé ......

´î½¨Eclipse C/C++¿ª·¢»·¾³

    ´î½¨eclipse C/C++¿ª·¢»·¾³£º
    1¡¢ÏÂÔØ²¢°²×°Eclipse for C++£ºhttp://www.eclipse.org¡£×îаæÊÇ»ùÓÚEclipse 3.5 galileo£¬ÎļþÃûΪeclipse-cpp-galileo-SR1-win32.zip¡£É蹤×÷Ŀ¼ΪD:\workspace_cpp¡£
    2¡¢eclipse for C/C++ IDEûÓаüº¬C/C++µÄ±àÒëÆ÷ºÍµ÷ÊÔÆ ......

linuxµÄÎļþϵͳÈÏʶ£¨1£©

1.̸µ½linuxµÄÎļþϵͳ£¬ÎÒÃDZØÐë¹Ø×¢/etc/fstabÎļþµÄÄÚÈÝ£»ÔÚlinuxÖеÄËùÓйÒÔØ·ÖÇøºÍÉ豸¶¼ÔÚfstab±í¸ñÖС£
/etc/fstab±í¸ñÖеÄÑ¡ÔñÏî²ÎÊý¶¨ÒåÈçÏ£º
ro or rw
Read only or read write
noauto
Do not respond to mount -a. Used for external devices CDROMs ...
noexec
Executables cannot be started from the ......

Linux ²»Í¬ÑÕÉ«µÄÎļþ´ú±íµÄº¬Òå

À¶É« ´ú±íĿ¼£»
ÂÌÉ« ´ú±í¿ÉÖ´ÐÐÎļþ£»
ºìÉ«   ´ú±íѹËõÎļþ£»
dzÀ¶É«   ´ú±íÁ´½ÓÎļþ£»
»ÒÉ«   ´ú±íÆäËûÎļþ£»
ºìÉ« ÉÁ˸   ´ú±íÁ´½ÓµÄÎļþÓÐÎÊÌâÁË£»
»ÆÉ«   ´ú±íÉ豸Îļþ£»
·ÛºìÉ« ´ú±íͼƬÎļþ»òÊÇsocketÎļþ£»
Çà»ÆÉ« ´ú±í¹ÜµÀÎļþ£»
ºÖÉ«±³¾°É« ´ú±íʧЧµÄÁ´½ÓÎļþ£» ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØÍ¼ | ¸ÓICP±¸09004571ºÅ