[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[List Home]
|
RE: [aspectj-users] Could an advice be declared synchronized, like declaring a synchronized method?
|
- From: "JITESH KALYANI Shivanand" <SJitesh@xxxxxxxxxxxx>
- Date: Thu, 4 Mar 2004 12:00:43 +0530
- Delivered-to: aspectj-users@eclipse.org
- Thread-index: AcQBraVVv9IrH/WJT4CxdZj9PcaVFAABFoFx
- Thread-topic: Could an advice be declared synchronized, like declaring a synchronized method?
If you pass common locking object among thread to advice it is possible.
> ----------
> From: aspectj-users-admin@xxxxxxxxxxx[SMTP:aspectj-users-admin@xxxxxxxxxxx] on behalf of Guofeng Zhang[SMTP:guofengzhang@xxxxxxxxxxxxx]
> Reply To: aspectj-users@xxxxxxxxxxx
> Sent: Thursday, March 04, 2004 11:27 AM
> To: aspectj-users@xxxxxxxxxxx
> Subject: [aspectj-users] Could an advice be declared synchronized, like declaring a synchronized method?
>
>
> Could an advice be declared synchronized, or use synchronized statement in the body of an advice?
>
> If not, how to code a thread-safe advice?
>
> Thanks.
>
> _______________________________________________
> aspectj-users mailing list
> aspectj-users@xxxxxxxxxxx
> http://dev.eclipse.org/mailman/listinfo/aspectj-users
>