Skip to main content

[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?

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
> 


Back to the top