Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1)

Side by Side Diff: src/include/tcsd.h

Issue 3581012: Upgrade from trousers 0.3.3 to 0.3.6 and from testsuite 0.2 to 0.3. (Closed) Base URL: ssh://git@gitrw.chromium.org:9222/trousers.git
Patch Set: git cl push Created 10 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « src/include/Makefile.am ('k') | src/include/tddl.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 1
2 /* 2 /*
3 * Licensed Materials - Property of IBM 3 * Licensed Materials - Property of IBM
4 * 4 *
5 * trousers - An open source TCG Software Stack 5 * trousers - An open source TCG Software Stack
6 * 6 *
7 * (C) Copyright International Business Machines Corp. 2004 7 * (C) Copyright International Business Machines Corp. 2004
8 * 8 *
9 */ 9 */
10 10
(...skipping 116 matching lines...) Expand 10 before | Expand all | Expand 10 after
127 TSS_RESULT conf_file_init(struct tcsd_config *); 127 TSS_RESULT conf_file_init(struct tcsd_config *);
128 void conf_file_final(struct tcsd_config *); 128 void conf_file_final(struct tcsd_config *);
129 TSS_RESULT ps_dirs_init(); 129 TSS_RESULT ps_dirs_init();
130 void tcsd_signal_handler(int); 130 void tcsd_signal_handler(int);
131 131
132 /* threading structures */ 132 /* threading structures */
133 struct tcsd_thread_data 133 struct tcsd_thread_data
134 { 134 {
135 int sock; 135 int sock;
136 UINT32 context; 136 UINT32 context;
137 » THREAD_TYPE thread_id; 137 » THREAD_TYPE *thread_id;
138 char *hostname; 138 char *hostname;
139 struct tcsd_comm_data comm; 139 struct tcsd_comm_data comm;
140 }; 140 };
141 141
142 struct tcsd_thread_mgr 142 struct tcsd_thread_mgr
143 { 143 {
144 MUTEX_DECLARE(lock); 144 MUTEX_DECLARE(lock);
145 struct tcsd_thread_data *thread_data; 145 struct tcsd_thread_data *thread_data;
146 146
147 int shutdown; 147 int shutdown;
148 UINT32 num_active_threads; 148 UINT32 num_active_threads;
149 UINT32 max_threads; 149 UINT32 max_threads;
150 }; 150 };
151 151
152 TSS_RESULT tcsd_threads_init(); 152 TSS_RESULT tcsd_threads_init();
153 TSS_RESULT tcsd_threads_final(); 153 TSS_RESULT tcsd_threads_final();
154 TSS_RESULT tcsd_thread_create(int, char *); 154 TSS_RESULT tcsd_thread_create(int, char *);
155 void *tcsd_thread_run(void *); 155 void *tcsd_thread_run(void *);
156 void thread_signal_init(); 156 void thread_signal_init();
157 157
158 /* signal handling */ 158 /* signal handling */
159 struct sigaction tcsd_sa_int; 159 struct sigaction tcsd_sa_int;
160 struct sigaction tcsd_sa_chld; 160 struct sigaction tcsd_sa_chld;
161 161
162 #endif 162 #endif
OLDNEW
« no previous file with comments | « src/include/Makefile.am ('k') | src/include/tddl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698