CVS: beepcore-c/threaded_os/utility bp_config.h,1.9,1.10 logutil.h,1.10,1.11 semutex.h,1.9,1.10 workthread_win32.c,1.3,1.4

Chris Hanson <[email protected]> Tue, 13 Aug 2002 10:15:42 -0700
Newsgroups gmane.network.beep.beepcore.c.cvs
Message-ID <[email protected]>
Update of /cvsroot/beepcore-c/beepcore-c/threaded_os/utility
In directory usw-pr-cvs1:/tmp/cvs-serv11404/threaded_os/utility

Modified Files:
	bp_config.h logutil.h semutex.h workthread_win32.c 
Log Message:
Eliminate use of // comments in C programs.

Index: bp_config.h
===================================================================
RCS file: /cvsroot/beepcore-c/beepcore-c/threaded_os/utility/bp_config.h,v
retrieving revision 1.9
retrieving revision 1.10
diff -C2 -d -r1.9 -r1.10
*** bp_config.h	1 Jan 2002 00:25:15 -0000	1.9
--- bp_config.h	13 Aug 2002 17:15:39 -0000	1.10
***************
*** 57,61 ****
   * </ul>
   */
! //@{
  
  
--- 57,61 ----
   * </ul>
   */
! /* @{ */
  
  
***************
*** 237,241 ****
  extern char *config_search_value(struct cfgsearchobj *csearch);
  
! //@}
  
  #if defined(__cplusplus)
--- 237,241 ----
  extern char *config_search_value(struct cfgsearchobj *csearch);
  
! /* @} */
  
  #if defined(__cplusplus)

Index: logutil.h
===================================================================
RCS file: /cvsroot/beepcore-c/beepcore-c/threaded_os/utility/logutil.h,v
retrieving revision 1.10
retrieving revision 1.11
diff -C2 -d -r1.10 -r1.11
*** logutil.h	2 Aug 2002 15:08:33 -0000	1.10
--- logutil.h	13 Aug 2002 17:15:39 -0000	1.11
***************
*** 34,38 ****
   * @name Logging functions
   */
! //@{
  
  /**
--- 34,38 ----
   * @name Logging functions
   */
! /* @{ */
  
  /**
***************
*** 141,145 ****
  #define	BEEP_IDENT	"beep ident"
  
! //@}
  
  #ifdef __cplusplus
--- 141,145 ----
  #define	BEEP_IDENT	"beep ident"
  
! /* @} */
  
  #ifdef __cplusplus

Index: semutex.h
===================================================================
RCS file: /cvsroot/beepcore-c/beepcore-c/threaded_os/utility/semutex.h,v
retrieving revision 1.9
retrieving revision 1.10
diff -C2 -d -r1.9 -r1.10
*** semutex.h	6 Nov 2001 22:14:23 -0000	1.9
--- semutex.h	13 Aug 2002 17:15:39 -0000	1.10
***************
*** 79,83 ****
   **/
  
! //@{
  
  typedef struct {
--- 79,83 ----
   **/
  
! /* @{ */
  
  typedef struct {
***************
*** 137,141 ****
  extern	int	sem_destroy (sem_t *s, char *what, char *file, int lineno);
  
! //@}
  
  /**
--- 137,141 ----
  extern	int	sem_destroy (sem_t *s, char *what, char *file, int lineno);
  
! /* @} */
  
  /**
***************
*** 143,147 ****
   **/
  
! //@{
  
  typedef pthread_t 	THREAD_T;
--- 143,147 ----
   **/
  
! /* @{ */
  
  typedef pthread_t 	THREAD_T;
***************
*** 193,197 ****
  pthread_yield ()
  
! //@}
  
  #else /* Just error since someone didn't define something that we needed. */
--- 193,197 ----
  pthread_yield ()
  
! /* @} */
  
  #else /* Just error since someone didn't define something that we needed. */

Index: workthread_win32.c
===================================================================
RCS file: /cvsroot/beepcore-c/beepcore-c/threaded_os/utility/workthread_win32.c,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -d -r1.3 -r1.4
*** workthread_win32.c	2 Aug 2002 15:08:33 -0000	1.3
--- workthread_win32.c	13 Aug 2002 17:15:39 -0000	1.4
***************
*** 161,166 ****
  #else
      sem_init(&work_thread->sem_work_wait,0,0);
! //    sem_init(&work_thread->sem_work_wait,0,1);
! //    sem_wait(&work_thread->sem_work_wait);
      sem_init(&work_thread->sem_work_queue,0,1);
  #endif
--- 161,168 ----
  #else
      sem_init(&work_thread->sem_work_wait,0,0);
! #if 0
!     sem_init(&work_thread->sem_work_wait,0,1);
!     sem_wait(&work_thread->sem_work_wait);
! #endif
      sem_init(&work_thread->sem_work_queue,0,1);
  #endif



-------------------------------------------------------
This sf.net email is sponsored by: Dice - The leading online job board
for high-tech professionals. Search and apply for tech jobs today!
http://seeker.dice.com/seeker.epl?rel_code=31