| Welcome to USLS Computer Science Boards. We hope you enjoy your visit. You're currently viewing our forum as a guest. This means you are limited to certain areas of the board and there are some features you can't use. If you join our community, you'll be able to access member-only sections, and use many member-only features such as customizing your profile, sending personal messages, and voting in polls. Registration is simple, fast, and completely free. Join our community! If you're already a member please log in to your account to access all of our features: |
| Any Discussion Sa Threading?; Available in Visual Studio .Net 2003&Up | |
|---|---|
| Tweet Topic Started: Aug 24 2006, 05:08 AM (916 Views) | |
| vincentg | Aug 24 2006, 05:08 AM Post #1 |
![]()
|
Sir Sig, Tutal suguran mo man... I think this technology is very usefull sa mga CS at least maka balo sila ano meaning sine... From MSDN (copy and paste) You can write applications that are able to perform multiple tasks simultaneously. This ability, called multithreading, or free threading, is a powerful way to design components that are processor-intensive and require user input. An example of a component that might make use of multithreading would be a component that calculates payroll information. The component could process data entered into a database by a user on one thread while processor-intensive payroll calculations were performed on another. By running these processes on separate threads, users do not need to wait for the computer to complete calculations before entering additional data. In this walkthrough, you will create a simple multithreaded component that performs multiple complex calculations simultaneously. Hopefully maka research kamu paano na sya mag work in case u got some subjects w/c uses VB or C#.... This is cool...using this to my win app...
|
![]() |
|
| Shiegz | Aug 24 2006, 09:53 AM Post #2 |
![]()
"Teh" Sir Tan
![]()
|
Migo maybe we could add Java to implement threads kay mas familiar mga higher years with java and the software is installed in all labs
|
![]() |
|
| angelpeach_12 | Aug 25 2006, 05:22 PM Post #3 |
|
Array
|
sir, what 's threads??? can we also have this in 104...andrea |
![]() |
|
| phlegethon | Aug 28 2006, 12:37 PM Post #4 |
|
Bit
|
threads? hilu?
that seems interesting...
|
![]() |
|
| angelpeach_12 | Aug 28 2006, 04:40 PM Post #5 |
|
Array
|
Sorry...i mean threading...
|
![]() |
|
| brentchua | Aug 28 2006, 05:29 PM Post #6 |
![]() ![]()
|
today's processors do use multi-threading. So from my understanding in threading it's kinda like instead of processing the whole information of a certain program it takes a small bit of it. and process another. So when you do multi-threading. It takes small bits of more than one program and processes it. so you could now like surf the net listening to music while burning a cd in the same time! waiting for the masters answer.... :lol: |
![]() |
|
| angelpeach_12 | Aug 28 2006, 05:42 PM Post #7 |
|
Array
|
WOW!!! :big grin:...really???pwede mo na sya mahimo??? |
![]() |
|
| brentchua | Aug 28 2006, 05:44 PM Post #8 |
![]() ![]()
|
of course...hehe.... but im noob at this threading stuff... so ask master Shiegz...haha :lol: |
![]() |
|
| eian_delacruz | Aug 28 2006, 05:47 PM Post #9 |
|
Pointer
|
In my case we applied the multi threading term to processing input files at the same time simultaneously. Though it doesn't involve processors at all but the concept of threading is applied. 100 scripts can run 1 or more tasks (i.e. processing, validating, rejecting and inserting records to DB) at the same time provided they run on separate threads. We added restart/recovery to add flavor to our own version of multi-threading ala DB.
|
![]() |
|
| angelpeach_12 | Aug 28 2006, 06:06 PM Post #10 |
|
Array
|
WOW...ka-alam sa inyo ba!!! Share man da bi sng pagka-genius nyo...
|
![]() |
|
| vincentg | Aug 30 2006, 03:42 AM Post #11 |
![]()
|
Threading is very usefull kapin pa if you like to execute a procedure and still do another procedure at the same time. This is use kapin pa sa Trading System...mga stocks exchange... Just imagine, damo damo na Users ga login sa Server but on every request on per user, may gina process sya na request. So the stress is ara sa Server Side w/c is normal man lng na ang Server is an expensive device. Damu pa gid application sine..if you use Windows OS XP abi...try to press Ctrl - Alt - Del once to activate you Windows Task Manager...on the Processes Tab, you can see may mga list of application gadalagan at the same time....You can call that another example too. For VB.Net fanatics.. try this one... make it sure my Procedure ka man nga LoadingAccounts....and you can call the LoadAccounts on Form Load or an on Click Event... Sub LoadAccounts() Dim StartAutoOffsetThread As System.Threading.Thread StartAutoOffsetThread = New System.Threading.Thread(AddressOf LoadingAccounts) StartAutoOffsetThread.Name = "Load Accounts" StartAutoOffsetThread.Start() End Sub |
![]() |
|
| angelpeach_12 | Sep 2 2006, 11:06 AM Post #12 |
|
Array
|
Yeah...you're right...is there any other examples pa guid sina???
|
![]() |
|
| eian_delacruz | Sep 3 2006, 07:06 PM Post #13 |
|
Pointer
|
Vincentg or admin, can we open a thread for VB.NET? where we can discuss more of this? I wanted to refresh and enhance my memory bout VB. I wouldn't want to forget my humble beginnings as a developer. Vincentg would you be so kind to discuss or start the thread? Thanks. |
![]() |
|
| angelpeach_12 | Sep 5 2006, 11:53 AM Post #14 |
|
Array
|
Ano yan??? As i look at the program daw may function sa gina tawag... am i right???
|
![]() |
|
| brentchua | Sep 5 2006, 01:31 PM Post #15 |
![]() ![]()
|
yes. but they are already talking about vb.net. it's not c++.
|
![]() |
|
| Go to Next Page | |
| « Previous Topic · Microsoft Visual Studio · Next Topic » |









that seems interesting...

12:36 AM Jul 14