About multithread core and shared memeory

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello everybody, 

        i want to use the multithread core to read/write the shared memory, and all the thread    
    should know the info of the shared memory. normally, we use the spin_lock,or read_lock, 
    write_lock, but when we test the performance of our programm,we found that the lock result a 
    very bad performance. 
    so i need your help, if you have some experiences about this. 
    every thread should konw the info of shared memory, but if we use signal, we still have 
    to use the lock to make sure that one thread to write the memory . 

    Thank you very much. 
    sorry of my poor english. 


sno


      ___________________________________________________________ 
进入雅虎游戏嘉年华,赢取液晶显示器! 
http://cn.mail.yahoo.com/promo/carnival07/
-
To unsubscribe from this list: send the line "unsubscribe linux-net" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Netdev]     [Ethernet Bridging]     [Linux 802.1Q VLAN]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Git]     [Bugtraq]     [Yosemite News and Information]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux PCI]     [Linux Admin]     [Samba]

  Powered by Linux