r497 - trunk/src/target/OM-2007/applications/openmoko-dialer/src

tony_guan at gta01.hmw-consulting.de tony_guan at gta01.hmw-consulting.de
Thu Jan 4 03:25:48 CET 2007


Author: tony_guan
Date: 2007-01-04 03:25:39 +0100 (Thu, 04 Jan 2007)
New Revision: 497

Modified:
   trunk/src/target/OM-2007/applications/openmoko-dialer/src/dialergsm.c
Log:
some multithread codes removed.


Modified: trunk/src/target/OM-2007/applications/openmoko-dialer/src/dialergsm.c
===================================================================
--- trunk/src/target/OM-2007/applications/openmoko-dialer/src/dialergsm.c	2007-01-04 02:20:55 UTC (rev 496)
+++ trunk/src/target/OM-2007/applications/openmoko-dialer/src/dialergsm.c	2007-01-04 02:25:39 UTC (rev 497)
@@ -27,7 +27,7 @@
 #include <string.h>
 #include "moko-dialer-includes.h"
 
-pthread_t thread;///<the gsm_monitor_thread thread handler
+//pthread_t thread;///<the gsm_monitor_thread thread handler
 
 static struct lgsm_handle *lgsmh; ///< the handle of the libgsmd
 
@@ -43,6 +43,7 @@
  * @return 
  * @retval
  */
+ /*
 
 void *gsm_monitor_thread(struct lgsm_handle *lgsmh)
 {
@@ -63,8 +64,7 @@
 		rc = select(gsm_fd+1, &readset, NULL, NULL, NULL);
 		if (rc <= 0)	
 			break;
-		/* we've received something on the gsmd socket, pass it
-			 * on to the library */
+		/ we've received something on the gsmd socket, pass it on to the library 
 			rc = read(gsm_fd, buf, sizeof(buf));
 			if (rc <= 0) {
 				printf("ERROR reding from gsm_fd\n");
@@ -78,6 +78,7 @@
         pthread_exit(NULL);
 }
 
+*/
 /**
  * @brief create the thread to monitor events from libgsmd
  *
@@ -88,6 +89,7 @@
  * @retval -1 failed
  * @retval 0  success
  */
+ /*
 int gsm_start_loop()
 {
         
@@ -102,8 +104,8 @@
         return 0;
 }
 
+*/
 
-
 /**
  * @brief this is the handler for receiving passthrough responses 
  *





More information about the commitlog mailing list