Find Jobs
Hire Freelancers

call thread synchronously

$30-250 USD

Cerrado
Publicado hace más de 9 años

$30-250 USD

Pagado a la entrega
I need to call the thread in this project synchronously, not async, i have a ton of code that processes after the ocr procedure and it is executing ahead while the thread is still running. i have tried a while loop, does not work, please provide a more elegant solution than just doing a "while notdone do" and loop. Thanks.
ID del proyecto: 6368471

Información sobre el proyecto

11 propuestas
Proyecto remoto
Activo hace 10 años

¿Buscas ganar dinero?

Beneficios de presentar ofertas en Freelancer

Fija tu plazo y presupuesto
Cobra por tu trabajo
Describe tu propuesta
Es gratis registrarse y presentar ofertas en los trabajos
11 freelancers están ofertando un promedio de $94 USD por este trabajo
Avatar del usuario
Hi, I'm Delphi expert with large experience and expertise in multithreaded type of applications. Do you want just a sample of synced call to a thread (I have it done for one of my projects so I can send it fast) or do you want it embedded and implemented in your code?
$105 USD en 3 días
5,0 (31 comentarios)
5,6
5,6
Avatar del usuario
Hi! What version of Delphi is required for this project? To be sure in quality you might want to check my Portfolio page for a short list of my previous projects. Please let me know when you are OK to discuss and we'll get the ball rolling. Thank you. Best, Mike
$100 USD en 1 día
5,0 (15 comentarios)
4,7
4,7
Avatar del usuario
You should uses an event semaphore or something like that. The main software will wait on the semaphore and when the ocr procedure releases the semaphore the main software will continue. I can build it in your software or provide you with a framework/template so you can do yourself P.S. Which version of Delphi are you using
$120 USD en 3 días
5,0 (2 comentarios)
3,4
3,4
Avatar del usuario
Hi! I've got much experience working with delphi. I can send you a test app with such thread class .
$100 USD en 1 día
5,0 (7 comentarios)
3,1
3,1
Avatar del usuario
Hi there , I'm delphi coder actually I used to do similar jobs just like the one you have mentioned I mean dealing with threads infact my recent project here on freelancer was about making threads to make the job easier anyway just provide with more information concerning your problem and I'll do my best after all it is your verdict ^^ Best Regards
$111 USD en 3 días
5,0 (4 comentarios)
2,8
2,8
Avatar del usuario
Hi, could you please specify version of Delphi you work with and provide source code of a project or example of code? BR, Denis
$88 USD en 3 días
0,0 (0 comentarios)
0,0
0,0
Avatar del usuario
Hi jhcdenmark, I'm a Senior Delphi developer (see my CV) and I have more than 13 years of EXP in this language, even if I'm not as old as it :) I've participated to a lots of Delphi projects, more specific in Finance Banking Investment on strong projects. Your project seems interesting, and there are several solutions for your problem: why using thread if you need synchrone tasks, connect to thread termination event to fire up another thread, waitforobject, use windows messages, ... depends really of your issue to be fixed. For all projects I propose these following steps : 1. Analyse all your requests and ask more details if needed 2. Implement them into Delphi project 3. Test the project 4. Give you the EXE version to test it 5. You validate the EXE, I will sent you the full source code 6. Or correct Issues, fix rules, ... according to your feedback 7. Even if the Project is closed, you will be able to contact me to fix issues WITHOUT PAYING like an After Sales Service :) I hope we can work together. Regards Greg
$100 USD en 2 días
0,0 (0 comentarios)
0,0
0,0
Avatar del usuario
Hello, I am assuming that your thread is a descendant of TThread class, and you have a liberty to decide how to create and execute the thread. I this case I can show you the elegant wait to run the thread virtually synchronous. The thread will still be running in different thread, but the calling thread will enter an efficient sleeping state until your thread finished. Best regards, Luthfi
$40 USD en 3 días
0,0 (0 comentarios)
0,0
0,0
Avatar del usuario
Hi! I've seen your project description and I would be able to help if you want. I am missing the project files for some reason (did you actually attach them?), but I think I got what you need. You should have some computationally expensive operation being carried out on a separate thread and you need to continue with the rest of the code on the current thread after the computational thread has finished. Did I get your point right ? If so, I can provide you with an appropriate solution: 1. An example Delphi project demonstrating the method 2. Quality documented code 3. Any assistance you might need with the deliverables Let me know which version of Delphi are you using. Regards, zcodereng
$88 USD en 1 día
0,0 (0 comentarios)
0,0
0,0
Avatar del usuario
Dear Sir, There is a much simpler way of doing this type of thing. Create a variable for every thread that signals when the thread is finished. Then use a timer to monitor the stage. Eg. Thread name is SaveToFile variable name: Savetofile : string; Thread name is closeApplication variable name: closeapp: string; last 2 lines in thread before CoUninitialize change value of variable to something like "finished" change next thread to something like "starting" add if statements to timer like this: if savetofile = 'starting' then run savetofile thread if closeApp = 'starting' then run closeApp thread. //make sure timer interval is set to 1 when one thread finishes, the timer will pick up the next one to run as you assign the 'starting' and 'finished' values to the right variables. The software can then run according to a process and will not hang... This method uses the least amount of RAM and CPU usage compared to other functions, and is incorporated in about every multi-threading program I do. Just remember to reset your variables every time otherwise the program might get a hickup when an unrelated error pops up. You can even track and monitor the process and display such to the user increasing User Friendliness. I can do the project for you if you are still struggling. I will incorporate the above and your software will work on the fly, every time for decades. Thank you for reading
$155 USD en 3 días
0,0 (0 comentarios)
0,0
0,0

Sobre este cliente

Bandera de UNITED STATES
United States
5,0
358
Forma de pago verificada
Miembro desde ene 29, 2002

Verificación del cliente

¡Gracias! Te hemos enviado un enlace para reclamar tu crédito gratuito.
Algo salió mal al enviar tu correo electrónico. Por favor, intenta de nuevo.
Usuarios registrados Total de empleos publicados
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Cargando visualización previa
Permiso concedido para Geolocalización.
Tu sesión de acceso ha expirado y has sido desconectado. Por favor, inica sesión nuevamente.