> We do have circular references in the C++ objects but they're not > setup through Python. The subobjects constructor sets the back > pointer. For example the Tsunami object has a pointer to each > Tsunami*Chip object so when the Tsunami*Chip object is constructed it > has a pointer to Tsunami and sets the back pointer there. At > Tsunami::init() all the pointers are setup. Python didn't need to > handle the circular references for this to work though. Correct, but we also allow this to happen in the python code now and have for quite a while. _______________________________________________ m5-dev mailing list m5-dev@m5sim.org http://m5sim.org/mailman/listinfo/m5-dev
- Re: [m5-dev] namespaces for python SimObjects Gabe Black
- Re: [m5-dev] namespaces for python SimObjects Steve Reinhardt
- Re: [m5-dev] namespaces for python SimObjects nathan binkert
- Re: [m5-dev] namespaces for python SimObjects Steve Reinhardt
- Re: [m5-dev] namespaces for python SimObjects nathan binkert
- Re: [m5-dev] namespaces for python SimObjects Gabe Black
- Re: [m5-dev] namespaces for python SimObjects nathan binkert
- Re: [m5-dev] namespaces for python SimObjects Ali Saidi
- Re: [m5-dev] namespaces for python SimObjects nathan binkert
- Re: [m5-dev] namespaces for python SimObjects Ali Saidi
- Re: [m5-dev] namespaces for python SimObjects nathan binkert
- Re: [m5-dev] namespaces for python SimObjects Gabe Black
- Re: [m5-dev] namespaces for python SimObjects nathan binkert
- Re: [m5-dev] namespaces for python SimObjects Steve Reinhardt
- Re: [m5-dev] namespaces for python SimObjects nathan binkert
- Re: [m5-dev] namespaces for python SimObjects Gabe Black
- Re: [m5-dev] namespaces for python SimObjects nathan binkert
- Re: [m5-dev] namespaces for python SimObjects nathan binkert
- Re: [m5-dev] namespaces for python SimObjects Gabe Black
- Re: [m5-dev] namespaces for python SimObjects nathan binkert