代码搜索:Threads
找到约 7,387 项符合「Threads」的源代码
代码结果 7,387
www.eeworm.com/read/102552/15775491
htm subject_42466.htm
序号:42466 发表者:nj_zxy 发表日期:2003-06-03 15:47:06
主题:关于共享内存的问题
内容:最近我在做课题的时候,遇到一个棘手的问题:我的程序需要不停的从共享内存里读数据(时间不小于20MS),关键是有好几个线程在读这个缓冲区的数据。缓冲区的数据需要我程序中某个线程不停的刷新,此时就有可能在刷新的同时别的线程在读数据,请大家指点。主要是多 ...
www.eeworm.com/read/101790/15811604
htm subject_42466.htm
序号:42466 发表者:nj_zxy 发表日期:2003-06-03 15:47:06
主题:关于共享内存的问题
内容:最近我在做课题的时候,遇到一个棘手的问题:我的程序需要不停的从共享内存里读数据(时间不小于20MS),关键是有好几个线程在读这个缓冲区的数据。缓冲区的数据需要我程序中某个线程不停的刷新,此时就有可能在刷新的同时别的线程在读数据,请大家指点。主要是多 ...
www.eeworm.com/read/100019/15887963
todo
Remove the C like syntax in several methods, and make them more class
oriented.
Make a common allocator unit, that is distinct for each thread. To
ensure that there is no race condition between thr
www.eeworm.com/read/387242/8698316
c pi02.c
#include
static long num_steps = 100000;
double step;
#define NUM_THREADS 4
void main ()
{ int i;
double x, pi, sum[NUM_THREADS];
step = 1.0/(double) num_steps;
omp_set_num
www.eeworm.com/read/387242/8698321
c pi03.c
#include
static long num_steps = 100000;
double step;
#define NUM_THREADS 8
void main ()
{
int i,id;
double x, sum, pi=0.0;
step = 1.0/(double) num_steps;
omp_set_num_threads(NU
www.eeworm.com/read/162614/5531941
c gnu_java_awt_peer_gtk_gtklabelpeer.c
/* gtklabelpeer.c -- Native implementation of GtkLabelPeer
Copyright (C) 1998, 1999 Free Software Foundation, Inc.
This file is part of GNU Classpath.
GNU Classpath is free software; you can redi
www.eeworm.com/read/162614/5531948
c gnu_java_awt_peer_gtk_gtkframepeer.c
/* gtkframepeer.c -- Native implementation of GtkFramePeer
Copyright (C) 1998, 1999, 2002 Free Software Foundation, Inc.
This file is part of GNU Classpath.
GNU Classpath is free software;
www.eeworm.com/read/162519/5541473
c gnu_java_awt_peer_gtk_gtklabelpeer.c
/* gtklabelpeer.c -- Native implementation of GtkLabelPeer
Copyright (C) 1998, 1999 Free Software Foundation, Inc.
This file is part of GNU Classpath.
GNU Classpath is free software; you can redi
www.eeworm.com/read/162519/5541480
c gnu_java_awt_peer_gtk_gtkframepeer.c
/* gtkframepeer.c -- Native implementation of GtkFramePeer
Copyright (C) 1998, 1999, 2002 Free Software Foundation, Inc.
This file is part of GNU Classpath.
GNU Classpath is free software;
www.eeworm.com/read/177968/9425684
c cancel.c
/********************************************************
* An example source module to accompany...
*
* "Using POSIX Threads: Programming with Pthreads"
* by Brad nichols, Dick Buttlar, Jacki