资源简介

该文件是pthread windows平台的库函数,要再windows平台使用pthread多线程,需要加载该库

资源截图

代码片段和文件信息

/*
 * attr.c
 *
 * Description:
 * This translation unit agregates operations on thread attribute objects.
 * It is used for inline optimisation.
 *
 * The included modules are used separately when static executable sizes
 * must be minimised.
 *
 * --------------------------------------------------------------------------
 *
 *      Pthreads-win32 - POSIX Threads Library for Win32
 *      Copyright(C) 1998 John E. Bossom
 *      Copyright(C) 19992005 Pthreads-win32 contributors
 * 
 *      Contact Email: rpj@callisto.canberra.edu.au
 * 
 *      The current list of contributors is contained
 *      in the file CONTRIBUTORS included with the source
 *      code distribution. The list can also be seen at the
 *      following World Wide Web location:
 *      http://sources.redhat.com/pthreads-win32/contributors.html
 * 
 *      This library is free software; you can redistribute it and/or
 *      modify it under the terms of the GNU Lesser General Public
 *      License as published by the Free Software Foundation; either
 *      version 2 of the License or (at your option) any later version.
 * 
 *      This library is distributed in the hope that it will be useful
 *      but WITHOUT ANY WARRANTY; without even the implied warranty of
 *      MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
 *      Lesser General Public License for more details.
 * 
 *      You should have received a copy of the GNU Lesser General Public
 *      License along with this library in the file COPYING.LIB;
 *      if not write to the Free Software Foundation Inc.
 *      59 Temple Place - Suite 330 Boston MA 02111-1307 USA
 */

#include “pthread.h“
#include “implement.h“

#include “pthread_attr_init.c“
#include “pthread_attr_destroy.c“
#include “pthread_attr_getdetachstate.c“
#include “pthread_attr_setdetachstate.c“
#include “pthread_attr_getstackaddr.c“
#include “pthread_attr_setstackaddr.c“
#include “pthread_attr_getstacksize.c“
#include “pthread_attr_setstacksize.c“
#include “pthread_attr_getscope.c“
#include “pthread_attr_setscope.c“

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----

     文件      14188  2005-06-04 09:48  pthread\Pre-built.2\ANNOUNCE

     文件       5178  2005-06-04 09:48  pthread\Pre-built.2\BUGS

     文件     183764  2005-06-04 09:48  pthread\Pre-built.2\ChangeLog

     文件       5078  2005-06-04 09:48  pthread\Pre-built.2\CONTRIBUTORS

     文件       5880  2005-06-04 09:48  pthread\Pre-built.2\COPYING

     文件      26934  2005-06-04 09:48  pthread\Pre-built.2\COPYING.LIB

     文件      15359  2005-06-04 09:48  pthread\Pre-built.2\FAQ

     文件      43162  2005-06-04 09:48  pthread\Pre-built.2\include\pthread.h

     文件       4844  2005-06-04 09:48  pthread\Pre-built.2\include\sched.h

     文件       4429  2005-06-04 09:48  pthread\Pre-built.2\include\semaphore.h

     文件      89608  2005-06-04 09:52  pthread\Pre-built.2\lib\libpthreadGC2.a

     文件      89614  2005-06-04 09:52  pthread\Pre-built.2\lib\libpthreadGCE2.a

     文件      60273  2005-06-04 09:52  pthread\Pre-built.2\lib\pthreadGC2.dll

     文件     112556  2005-06-04 09:52  pthread\Pre-built.2\lib\pthreadGCE2.dll

     文件      86070  2005-06-04 09:52  pthread\Pre-built.2\lib\pthreadVC2.dll

     文件      29280  2005-06-04 09:52  pthread\Pre-built.2\lib\pthreadVC2.lib

     文件      86071  2005-06-04 09:52  pthread\Pre-built.2\lib\pthreadVSE2.dll

     文件      29400  2005-06-04 09:52  pthread\Pre-built.2\lib\pthreadVSE2.lib

     文件         99  2005-06-04 09:48  pthread\Pre-built.2\MAINTAINERS

     文件      37980  2005-06-04 09:48  pthread\Pre-built.2\NEWS

     文件        142  2005-06-04 09:48  pthread\Pre-built.2\PROGRESS

     文件      22520  2005-06-04 09:48  pthread\Pre-built.2\README

     文件       2595  2005-06-04 09:48  pthread\Pre-built.2\README.Borland

     文件      89774  2005-06-04 09:48  pthread\Pre-built.2\README.CV

     文件      12014  2005-06-04 09:48  pthread\Pre-built.2\README.NONPORTABLE

     文件       2349  2005-06-04 09:48  pthread\Pre-built.2\README.Watcom

     文件        220  2005-06-04 09:48  pthread\Pre-built.2\README.WinCE

     文件        217  2005-06-04 09:48  pthread\Pre-built.2\TODO

     文件       7904  2005-06-04 09:48  pthread\Pre-built.2\WinCE-PORT

     文件      14188  2005-06-04 09:48  pthread\pthreads.2\ANNOUNCE

............此处省略425个文件信息

评论

共有 条评论