🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

1 total messages Started by snnn Sun, 04 Dec 2005 02:43
问一个关于共享区冲突的问题
#24
Author: snnn
Date: Sun, 04 Dec 2005 02:43
19 lines
1660 bytes
������һƬ�����ڴ�����ͨ��mmap�ķ�ʽ��һ����̵Ķ�������й��?
����p��һ��ָ����ڴ�����һ�������ָ�롣

��ô

(*p) += 2;

����IJ����Ƿ��������ʳ�ͻ�����ᣬ��ô����Ϊʲô��ϵͳ������
���׳��

(�ó���������һ��SMPϵͳ��)

�����ǵij�����ͨ������ķ�ʽ������ݵ�ʱ����ôʲôʱ����Ҫ����
����ڽ�̼������ֻ�����̼߳����.


-- 
sohu��̳��һλ��Ϻ�̵��ң���־������־����־�߳�
��־
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads