Skip to content

Commit

Permalink
Merge pull request #94 from tprk77/remove-gthread-init
Browse files Browse the repository at this point in the history
Remove references to deprecated g_thread_init
  • Loading branch information
ashuang authored Aug 2, 2016
2 parents 4d2fb09 + df709cb commit 21d1afd
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 5 deletions.
3 changes: 0 additions & 3 deletions lcm-logger/lcm_logger.c
Original file line number Diff line number Diff line change
Expand Up @@ -542,9 +542,6 @@ int main(int argc, char *argv[])
fprintf(stderr, "ERROR. --force_overwrite and --append can't both be used\n");
}

// initialize GLib threading
g_thread_init(NULL);

logger.time0 = timestamp_now();
logger.max_write_queue_size = (int64_t)(max_write_queue_size_mb * (1 << 20));

Expand Down
2 changes: 0 additions & 2 deletions lcm/lcm.c
Original file line number Diff line number Diff line change
Expand Up @@ -58,8 +58,6 @@ extern void lcm_memq_provider_init(GPtrArray * providers);
lcm_t *
lcm_create (const char *url)
{
if (!g_thread_supported ()) g_thread_init (NULL);

#ifdef WIN32
WSADATA wsd;
int status = WSAStartup ( MAKEWORD ( 2, 0 ), &wsd );
Expand Down

0 comments on commit 21d1afd

Please sign in to comment.