Skip to content
Snippets Groups Projects
Commit c40c3a39 authored by dg's avatar dg
Browse files

frell

git-svn-id: http://svn.net-core.org/repos/t-engine4@2749 51575b47-30f0-44d4-a5cc-537603b46e54
parent 86281a6b
No related branches found
No related tags found
No related merge requests found
......@@ -28,7 +28,6 @@
#include "main.h"
#include "profile.h"
#include "lua_externs.h"
#include "zhelpers.h"
static profile_type *main_profile;
......@@ -57,15 +56,6 @@ int thread_profile(void *data)
while (profile->running)
{
if (!profile->running) break;
printf("=== running\n");
s_send (profile->s_req, "We don't want to see this");
char *toto = s_recv (profile->s_req);
printf("=== rep %s\n", toto);
free(toto);
request_nbr++;
// lua_getglobal(L, "step_profile");
// docall(L, 0, 0);
......@@ -81,6 +71,8 @@ int thread_profile(void *data)
// Runs on main thread
void create_profile_thread()
{
return;
SDL_Thread *thread;
profile_type *profile = calloc(1, sizeof(profile_type));
main_profile = profile;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment