Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Oleksii Turkot
CrystFEL
Commits
af8365df
Commit
af8365df
authored
Oct 10, 2010
by
Thomas White
Committed by
Thomas White
Feb 22, 2012
Browse files
Tidy up
parent
e05bf79a
Changes
4
Hide whitespace changes
Inline
Side-by-side
src/calibrate_detector.c
View file @
af8365df
...
...
@@ -21,7 +21,6 @@
#include
<unistd.h>
#include
<getopt.h>
#include
<pthread.h>
#include
<sys/time.h>
#include
"utils.h"
#include
"hdf5-file.h"
...
...
@@ -31,7 +30,6 @@
#define INTEGRATION_RADIUS (10)
#define MAX_THREADS (96)
typedef
enum
...
...
src/cubeit.c
View file @
af8365df
...
...
@@ -389,7 +389,6 @@ static void write_slice(const char *filename, double *vals, int z,
cairo_surface_write_to_png
(
surface
,
filename
);
cairo_surface_destroy
(
surface
);
}
...
...
src/facetron.c
View file @
af8365df
...
...
@@ -21,6 +21,7 @@
#include
<unistd.h>
#include
<getopt.h>
#include
<assert.h>
#include
<pthread.h>
#include
"utils.h"
#include
"hdf5-file.h"
...
...
src/thread-pool.c
View file @
af8365df
...
...
@@ -162,7 +162,7 @@ static void *task_worker(void *pargsv)
/* Get a task */
pthread_mutex_lock
(
&
q
->
lock
);
if
(
q
->
n_started
>=
q
->
max
)
{
if
(
(
q
->
max
)
&&
(
q
->
n_started
>=
q
->
max
)
)
{
pthread_mutex_unlock
(
&
q
->
lock
);
break
;
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment