F
fniles
I am using VS 2008.
I need to process message on accounts.
I would like to create thread for each account, and in each of the account
thread, I will do the process in order the message comes in.
For example:
Accounts 1, 2 and 3.
Accounts 1 has 2 messages, account 2 has 3 messages and account 3 has 3
messages.
I would like to create 3 thread: 1 for account 1, 1 for account 2, and 1 for
account 3.
In thread 1 for account 1, I want to process the 2 messages in order they
come in: message A, then B
In thread 2 for account 2, I want to process the 3 messages in order they
come in.: message A, then B, then C
In thread 3 for account 3, I want to process the 3 messages in order they
come in.: message A, then B, then C
Can I do the above ?
Thank you
I need to process message on accounts.
I would like to create thread for each account, and in each of the account
thread, I will do the process in order the message comes in.
For example:
Accounts 1, 2 and 3.
Accounts 1 has 2 messages, account 2 has 3 messages and account 3 has 3
messages.
I would like to create 3 thread: 1 for account 1, 1 for account 2, and 1 for
account 3.
In thread 1 for account 1, I want to process the 2 messages in order they
come in: message A, then B
In thread 2 for account 2, I want to process the 3 messages in order they
come in.: message A, then B, then C
In thread 3 for account 3, I want to process the 3 messages in order they
come in.: message A, then B, then C
Can I do the above ?
Thank you